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 @@
<list>
<string>columns</string>
<string>list_method</string>
<string>sort</string>
<string>sort_columns</string>
<string>title</string>
<string>url_columns</string>
</list>
......@@ -137,12 +137,20 @@
</value>
</item>
<item>
<key> <string>sort</string> </key>
<key> <string>sort_columns</string> </key>
<value>
<list>
<tuple>
<string>translated_portal_type</string>
<string>Type</string>
</tuple>
<tuple>
<string>date</string>
<string>ascending</string>
<string>Date</string>
</tuple>
<tuple>
<string>simulation_state</string>
<string>State</string>
</tuple>
</list>
</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