Commit 910bf78b authored by Jean-Paul Smets's avatar Jean-Paul Smets

Updated to support views (preset sql_catalog_related_keys property)


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@1942 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 8742e289
......@@ -160,6 +160,7 @@ class CatalogTool (UniqueObject, ZCatalog, CMFCoreCatalogTool):
self.sql_search_result_keys = ('catalog.uid', 'catalog.path')
self.sql_search_tables = ('catalog', 'category', 'roles_and_users', 'movement', 'subject', )
self.sql_catalog_tables = 'z_show_tables'
self.sql_catalog_related_keys = 'allowedRolesAndUsers | roles_and_users/allowedRolesAndUsers/z_related_security'
elif config_id.lower() == 'cps3':
self.sql_catalog_produce_reserved = 'z_produce_reserved_uid_list'
......@@ -215,6 +216,7 @@ class CatalogTool (UniqueObject, ZCatalog, CMFCoreCatalogTool):
'catalog.destination_reference', 'catalog.summary',)
self.sql_search_tables = ('catalog', 'cps', 'local_users_with_roles', 'roles_and_users', 'subject', )
self.sql_catalog_tables = 'z_show_tables'
self.sql_catalog_related_keys = 'allowedRolesAndUsers | roles_and_users/allowedRolesAndUsers/z_related_security'
# CPS specific
self.sql_catalog_topic_search_keys = ('cps_filter_sets',)
......
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