Commit 322e5e69 authored by Jérome Perrin's avatar Jérome Perrin

item: disable sorting by source_title on Item_viewTracking

If we leave sort_column empty, catalog/listbox will incorrectly guess
the sortable columns.

There is a related key for source_title that does not work here (because
this method selects movements, and movements categories are not indexed,
so lines which acquire source from their parent are filtered out)
parent df144aad
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
<list> <list>
<string>columns</string> <string>columns</string>
<string>list_method</string> <string>list_method</string>
<string>sort</string> <string>sort_columns</string>
<string>title</string> <string>title</string>
<string>url_columns</string> <string>url_columns</string>
</list> </list>
...@@ -137,12 +137,20 @@ ...@@ -137,12 +137,20 @@
</value> </value>
</item> </item>
<item> <item>
<key> <string>sort</string> </key> <key> <string>sort_columns</string> </key>
<value> <value>
<list> <list>
<tuple>
<string>translated_portal_type</string>
<string>Type</string>
</tuple>
<tuple> <tuple>
<string>date</string> <string>date</string>
<string>ascending</string> <string>Date</string>
</tuple>
<tuple>
<string>simulation_state</string>
<string>State</string>
</tuple> </tuple>
</list> </list>
</value> </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