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 @@ ...@@ -15,6 +15,7 @@
<string>editable_columns</string> <string>editable_columns</string>
<string>list_method</string> <string>list_method</string>
<string>portal_types</string> <string>portal_types</string>
<string>sort</string>
<string>title</string> <string>title</string>
</list> </list>
</value> </value>
...@@ -150,10 +151,6 @@ ...@@ -150,10 +151,6 @@
<string>title</string> <string>title</string>
<string>Task Title</string> <string>Task Title</string>
</tuple> </tuple>
<tuple>
<string>source_title</string>
<string>Resource</string>
</tuple>
<tuple> <tuple>
<string>source_title</string> <string>source_title</string>
<string>Assignee</string> <string>Assignee</string>
...@@ -179,7 +176,7 @@ ...@@ -179,7 +176,7 @@
<string>Location</string> <string>Location</string>
</tuple> </tuple>
<tuple> <tuple>
<string>getTranslatedSimulationStateTitle</string> <string>translated_simulation_state_title</string>
<string>State</string> <string>State</string>
</tuple> </tuple>
</list> </list>
...@@ -225,6 +222,17 @@ ...@@ -225,6 +222,17 @@
</list> </list>
</value> </value>
</item> </item>
<item>
<key> <string>sort</string> </key>
<value>
<list>
<tuple>
<string>delivery.start_date</string>
<string>descending</string>
</tuple>
</list>
</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>
......
...@@ -15,6 +15,7 @@ ...@@ -15,6 +15,7 @@
<string>editable_columns</string> <string>editable_columns</string>
<string>list_method</string> <string>list_method</string>
<string>portal_types</string> <string>portal_types</string>
<string>sort</string>
<string>title</string> <string>title</string>
</list> </list>
</value> </value>
...@@ -150,10 +151,6 @@ ...@@ -150,10 +151,6 @@
<string>title</string> <string>title</string>
<string>Task Title</string> <string>Task Title</string>
</tuple> </tuple>
<tuple>
<string>source_title</string>
<string>Resource</string>
</tuple>
<tuple> <tuple>
<string>source_title</string> <string>source_title</string>
<string>Assignee</string> <string>Assignee</string>
...@@ -179,7 +176,7 @@ ...@@ -179,7 +176,7 @@
<string>Location</string> <string>Location</string>
</tuple> </tuple>
<tuple> <tuple>
<string>getTranslatedSimulationStateTitle</string> <string>translated_simulation_state_title</string>
<string>State</string> <string>State</string>
</tuple> </tuple>
</list> </list>
...@@ -225,6 +222,17 @@ ...@@ -225,6 +222,17 @@
</list> </list>
</value> </value>
</item> </item>
<item>
<key> <string>sort</string> </key>
<value>
<list>
<tuple>
<string>delivery.start_date</string>
<string>descending</string>
</tuple>
</list>
</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>
......
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