Commit 2b6d9053 authored by Vincent Pelletier's avatar Vincent Pelletier Committed by Eteri

ERP5Catalog: Stop looking for shorter base categories when found

Catalog does not need "resource_uid" when it requested for
"resource_use_uid", so don't spend time computing it.
parent 1939813e
......@@ -1008,6 +1008,7 @@ class CatalogTool (UniqueObject, ZCatalog, CMFCoreCatalogTool, ActiveObject):
expected_base_cat_id +
(RELATED_DYNAMIC_METHOD_NAME if related else '')
)
break
return related_key_list
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment