Commit e66a8c5b authored by Alexandre Boeglin's avatar Alexandre Boeglin

sql_catalog_related_keys must be a tuple of strings instead of just a string.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@1963 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 4295e447
......@@ -160,7 +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'
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'
......@@ -216,7 +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'
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