Commit ad7ea27d authored by Nicolas Delaby's avatar Nicolas Delaby

* Fix Order of tuple which is (title, value).

Displaying portal_type title is more confusing than helping. This list is read by developers, not final users.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@45385 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent b45ffb8b
......@@ -231,7 +231,7 @@
</item>
<item>
<key> <string>size</string> </key>
<value> <int>5</int> </value>
<value> <int>20</int> </value>
</item>
<item>
<key> <string>title</string> </key>
......@@ -263,7 +263,7 @@
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>python: [(x.getId(), x.getTitle()) for x in context.portal_types.contentValues(sort_on=((\'title\',),))]</string> </value>
<value> <string>python: [(x.getId(), x.getId()) for x in context.portal_types.contentValues(sort_on=((\'id\',),))]</string> </value>
</item>
</dictionary>
</pickle>
......
654
\ No newline at end of file
655
\ 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