Commit a87e98e5 authored by Jérome Perrin's avatar Jérome Perrin

provide default sorting here.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@24859 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent a2f41f6f
...@@ -65,7 +65,7 @@ dialog_selection_params = portal.portal_selections.getSelectionParamsFor(\n ...@@ -65,7 +65,7 @@ dialog_selection_params = portal.portal_selections.getSelectionParamsFor(\n
\n \n
# support pseudo sorting; sorting is done by uid.\n # support pseudo sorting; sorting is done by uid.\n
orig_sort_on = portal.portal_selections.getSelectionSortOrder(\n orig_sort_on = portal.portal_selections.getSelectionSortOrder(\n
\'accounting_transaction_module_grouping_reference_fast_input\')\n \'accounting_transaction_module_grouping_reference_fast_input\') or ((\'date\', \'descending\'),)\n
sort_on = []\n sort_on = []\n
for sort_column, sort_order in orig_sort_on:\n for sort_column, sort_order in orig_sort_on:\n
if sort_column in (\'grouping_reference\', \'date\', \'parent_title\'):\n if sort_column in (\'grouping_reference\', \'date\', \'parent_title\'):\n
......
828 829
\ No newline at end of file \ No newline at end of file
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