Commit 15a3ab44 authored by Romain Courteaud's avatar Romain Courteaud

Improve listbox configuration to enable sorting

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@20093 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent c8c5e9db
......@@ -90,8 +90,8 @@
<key> <string>hidden</string> </key>
<value>
<list>
<string>listbox_start_date</string>
<string>listbox_stop_date</string>
<string>listbox_delivery_start_date</string>
<string>listbox_delivery_stop_date</string>
</list>
</value>
</item>
......
......@@ -19,6 +19,7 @@
<string>list_method</string>
<string>selection_name</string>
<string>portal_types</string>
<string>default_params</string>
<string>editable_columns</string>
</list>
</value>
......@@ -61,6 +62,24 @@
<key> <string>tales</string> </key>
<value>
<dictionary>
<item>
<key> <string>all_columns</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>columns</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>default_params</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>editable_columns</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>field_id</string> </key>
<value> <string></string> </value>
......@@ -69,10 +88,26 @@
<key> <string>form_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>list_method</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>portal_types</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>selection_name</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>target</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</value>
</item>
......@@ -101,11 +136,11 @@
<string>Resource</string>
</tuple>
<tuple>
<string>start_date</string>
<string>delivery.start_date</string>
<string>Begin</string>
</tuple>
<tuple>
<string>stop_date</string>
<string>delivery.stop_date</string>
<string>End</string>
</tuple>
<tuple>
......@@ -163,11 +198,11 @@
<string>Resource</string>
</tuple>
<tuple>
<string>start_date</string>
<string>delivery.start_date</string>
<string>Begin</string>
</tuple>
<tuple>
<string>stop_date</string>
<string>delivery.stop_date</string>
<string>End</string>
</tuple>
<tuple>
......@@ -185,16 +220,27 @@
</list>
</value>
</item>
<item>
<key> <string>default_params</string> </key>
<value>
<list>
<tuple>
<string>checked_permission</string>
<string>View</string>
</tuple>
</list>
</value>
</item>
<item>
<key> <string>editable_columns</string> </key>
<value>
<list>
<tuple>
<string>start_date</string>
<string>delivery.start_date</string>
<string>Begin</string>
</tuple>
<tuple>
<string>stop_date</string>
<string>delivery.stop_date</string>
<string>End</string>
</tuple>
</list>
......@@ -211,7 +257,7 @@
<item>
<key> <string>list_method</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
<persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
</value>
</item>
<item>
......@@ -244,6 +290,22 @@
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<global name="TALESMethod" module="Products.Formulator.TALESField"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>python: [(\'checked_permission\', \'View\'), (\'source_project_uid\', here.getUid())]</string> </value>
</item>
</dictionary>
</pickle>
</record>
<record id="3" aka="AAAAAAAAAAM=">
<pickle>
<tuple>
<global name="Method" module="Products.Formulator.MethodField"/>
......@@ -254,7 +316,7 @@
<dictionary>
<item>
<key> <string>method_name</string> </key>
<value> <string>getSourceProjectRelatedValueList</string> </value>
<value> <string>portal_catalog</string> </value>
</item>
</dictionary>
</pickle>
......
......@@ -20,7 +20,7 @@
</item>
<item>
<key> <string>id</string> </key>
<value> <string>listbox_start_date</string> </value>
<value> <string>listbox_delivery_start_date</string> </value>
</item>
<item>
<key> <string>message_values</string> </key>
......
......@@ -20,7 +20,7 @@
</item>
<item>
<key> <string>id</string> </key>
<value> <string>listbox_stop_date</string> </value>
<value> <string>listbox_delivery_stop_date</string> </value>
</item>
<item>
<key> <string>message_values</string> </key>
......
455
\ No newline at end of file
456
\ 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