From e66a8c5b22e4d39bee192e9bfcf4a99fcb44954e Mon Sep 17 00:00:00 2001 From: Alexandre Boeglin <alex@nexedi.com> Date: Wed, 8 Dec 2004 14:33:06 +0000 Subject: [PATCH] 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 --- product/ERP5Catalog/CatalogTool.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/product/ERP5Catalog/CatalogTool.py b/product/ERP5Catalog/CatalogTool.py index 2e1142eaf3..c0252d50d4 100755 --- a/product/ERP5Catalog/CatalogTool.py +++ b/product/ERP5Catalog/CatalogTool.py @@ -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',) -- 2.30.9