Commit 6fd79435 authored by Vincent Pelletier's avatar Vincent Pelletier

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 78c99de3
......@@ -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