Commit 05b4dc53 authored by Mayoro Diagne's avatar Mayoro Diagne

2010-06-24 mayoro

* use lambda expression to filter objects without portal_type in z_catalog_egov_list filter

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@36570 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent a67b8082
......@@ -6,6 +6,6 @@
<value>1</value>
</item>
<item key="_filter_expression_archive" type="str">
<value>python: context.getPortalType() in ( 'Organisation', 'Assignment') or context.getTypeInfo().getPortalType() == 'EGov Type'</value>
<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>
</catalog_method>
2010-06-24 mayoro
* use lambda expression to filter objects without portal_type in z_catalog_egov_list filter
2010-06-23 mohamadou
* add a script to update a procedure's local roles using a username and role_name_list
......
621
\ No newline at end of file
625
\ No newline at end of file
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