Commit c1b20e51 authored by Jean-Paul Smets's avatar Jean-Paul Smets

Support or ordering type

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@12000 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 62986728
......@@ -1282,7 +1282,9 @@ class ListBoxRenderer:
set to None, otherwise to a string.
"""
sort_list = self.getSelectionTool().getSelectionSortOrder(self.getSelectionName())
sort_dict = dict(sort_list)
sort_dict = {}
for sort_item in sort_list:
sort_dict[sort_item[0]] = sort_item[1] # sort_item can be couple or a triplet
sort_column_id_set = self.getSortColumnIdSet()
value_list = []
......
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