Commit 5109aabb authored by Xiaowu Zhang's avatar Xiaowu Zhang

erp5_project: fix can't sort&search on listbox and add default sort

reason is two columns have same name
parent 887a4edd
......@@ -15,6 +15,7 @@
<string>editable_columns</string>
<string>list_method</string>
<string>portal_types</string>
<string>sort</string>
<string>title</string>
</list>
</value>
......@@ -150,10 +151,6 @@
<string>title</string>
<string>Task Title</string>
</tuple>
<tuple>
<string>source_title</string>
<string>Resource</string>
</tuple>
<tuple>
<string>source_title</string>
<string>Assignee</string>
......@@ -179,7 +176,7 @@
<string>Location</string>
</tuple>
<tuple>
<string>getTranslatedSimulationStateTitle</string>
<string>translated_simulation_state_title</string>
<string>State</string>
</tuple>
</list>
......@@ -225,6 +222,17 @@
</list>
</value>
</item>
<item>
<key> <string>sort</string> </key>
<value>
<list>
<tuple>
<string>delivery.start_date</string>
<string>descending</string>
</tuple>
</list>
</value>
</item>
<item>
<key> <string>target</string> </key>
<value> <string>Click to edit the target</string> </value>
......
......@@ -15,6 +15,7 @@
<string>editable_columns</string>
<string>list_method</string>
<string>portal_types</string>
<string>sort</string>
<string>title</string>
</list>
</value>
......@@ -150,10 +151,6 @@
<string>title</string>
<string>Task Title</string>
</tuple>
<tuple>
<string>source_title</string>
<string>Resource</string>
</tuple>
<tuple>
<string>source_title</string>
<string>Assignee</string>
......@@ -179,7 +176,7 @@
<string>Location</string>
</tuple>
<tuple>
<string>getTranslatedSimulationStateTitle</string>
<string>translated_simulation_state_title</string>
<string>State</string>
</tuple>
</list>
......@@ -225,6 +222,17 @@
</list>
</value>
</item>
<item>
<key> <string>sort</string> </key>
<value>
<list>
<tuple>
<string>delivery.start_date</string>
<string>descending</string>
</tuple>
</list>
</value>
</item>
<item>
<key> <string>target</string> </key>
<value> <string>Click to edit the target</string> </value>
......
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