Commit 94d879cd authored by Romain Courteaud's avatar Romain Courteaud

Add new dynamic related keys for the reference property.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@22754 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent cbefdfab
...@@ -864,7 +864,7 @@ class CatalogTool (UniqueObject, ZCatalog, CMFCoreCatalogTool, ActiveObject): ...@@ -864,7 +864,7 @@ class CatalogTool (UniqueObject, ZCatalog, CMFCoreCatalogTool, ActiveObject):
# We have found a base_category # We have found a base_category
end_key = '_'.join(splitted_key[i:]) end_key = '_'.join(splitted_key[i:])
# accept only some catalog columns # accept only some catalog columns
if end_key in ('title', 'uid', 'description', if end_key in ('title', 'uid', 'description', 'reference',
'relative_url', 'id', 'portal_type'): 'relative_url', 'id', 'portal_type'):
if strict: if strict:
related_key_list.append( related_key_list.append(
......
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