diff --git a/bt5/erp5_credential/SkinTemplateItem/portal_skins/erp5_credential/SystemPreference_viewCredential/my_preferred_credential_assignment_function_list.xml b/bt5/erp5_credential/SkinTemplateItem/portal_skins/erp5_credential/SystemPreference_viewCredential/my_preferred_credential_assignment_function_list.xml index c9b56c92258380051b1bad0e73b8cc3ac258176c..fb50cbec762bc43edf3557c3e339839b7703b053 100644 --- a/bt5/erp5_credential/SkinTemplateItem/portal_skins/erp5_credential/SystemPreference_viewCredential/my_preferred_credential_assignment_function_list.xml +++ b/bt5/erp5_credential/SkinTemplateItem/portal_skins/erp5_credential/SystemPreference_viewCredential/my_preferred_credential_assignment_function_list.xml @@ -11,6 +11,7 @@ <value> <list> <string>items</string> + <string>size</string> <string>title</string> </list> </value> @@ -96,6 +97,10 @@ <list/> </value> </item> + <item> + <key> <string>size</string> </key> + <value> <int>7</int> </value> + </item> <item> <key> <string>target</string> </key> <value> <string>Click to edit the target</string> </value> @@ -118,7 +123,7 @@ <dictionary> <item> <key> <string>_text</string> </key> - <value> <string>python: map(lambda x: (x,x), context.portal_categories.function.objectIds())</string> </value> + <value> <string>python: filter(lambda x: x[0] != "", getattr(context.portal_categories["function"], context.portal_preferences.getPreference(\'preferred_category_child_item_list_method_id\', \'getCategoryChildCompactLogicalPathItemList\'))(local_sort_id=(\'int_index\', \'translated_title\'), checked_permission=\'View\'))</string> </value> </item> </dictionary> </pickle> diff --git a/bt5/erp5_credential/bt/revision b/bt5/erp5_credential/bt/revision index 387c46fdec89e3cb2d1358c93270eeeeec85d13f..d35d5f782448e98ccbcb1fa8e162c079cc627e52 100644 --- a/bt5/erp5_credential/bt/revision +++ b/bt5/erp5_credential/bt/revision @@ -1 +1 @@ -346 \ No newline at end of file +347 \ No newline at end of file