Commit b873813d authored by Gabriel Monnerat's avatar Gabriel Monnerat

refactor field to return all function properties and support translation

parent f88add74
...@@ -11,6 +11,7 @@ ...@@ -11,6 +11,7 @@
<value> <value>
<list> <list>
<string>items</string> <string>items</string>
<string>size</string>
<string>title</string> <string>title</string>
</list> </list>
</value> </value>
...@@ -96,6 +97,10 @@ ...@@ -96,6 +97,10 @@
<list/> <list/>
</value> </value>
</item> </item>
<item>
<key> <string>size</string> </key>
<value> <int>7</int> </value>
</item>
<item> <item>
<key> <string>target</string> </key> <key> <string>target</string> </key>
<value> <string>Click to edit the target</string> </value> <value> <string>Click to edit the target</string> </value>
...@@ -118,7 +123,7 @@ ...@@ -118,7 +123,7 @@
<dictionary> <dictionary>
<item> <item>
<key> <string>_text</string> </key> <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> </item>
</dictionary> </dictionary>
</pickle> </pickle>
......
346 347
\ No newline at end of file \ 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