diff --git a/bt5/erp5_egov/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_catalog_egov_list.catalog_keys.xml b/bt5/erp5_egov/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_catalog_egov_list.catalog_keys.xml index c0799fc2271cc4756a657763805382d2bd1afc41..86cefcf9c2442a5d8b53b746a3aac88c32598ced 100644 --- a/bt5/erp5_egov/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_catalog_egov_list.catalog_keys.xml +++ b/bt5/erp5_egov/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_catalog_egov_list.catalog_keys.xml @@ -8,4 +8,7 @@ <item key="_filter_expression_archive" type="str"> <value>python: context.getPortalType() in ('Organisation', 'Assignment') or (lambda type_info: type_info is not None and type_info.getPortalType() == 'EGov Type')(context.getTypeInfo())</value> </item> + <item key="_filter_expression_cache_key_archive" type="tuple"> + <value>portal_type</value> + </item> </catalog_method> diff --git a/bt5/erp5_egov/bt/change_log b/bt5/erp5_egov/bt/change_log index 39900b6f1847a7462186fdd41f6ac487a2b68a95..2cff6dd4c7655d4bd6d2caedcad257fb2ab4a769 100644 --- a/bt5/erp5_egov/bt/change_log +++ b/bt5/erp5_egov/bt/change_log @@ -1,3 +1,6 @@ +2010-06-24 mayoro +*use portal_type as expression kache key + 2010-06-24 mayoro * use lambda expression to filter objects without portal_type in z_catalog_egov_list filter diff --git a/bt5/erp5_egov/bt/revision b/bt5/erp5_egov/bt/revision index e0c903f4749bf954930025608ba618b5c9e24ab1..b0c703c41aeb461a340aaf1f9b0cf3e7ef8dd773 100644 --- a/bt5/erp5_egov/bt/revision +++ b/bt5/erp5_egov/bt/revision @@ -1 +1 @@ -625 \ No newline at end of file +628 \ No newline at end of file