Commit 6fab801b authored by Jérome Perrin's avatar Jérome Perrin

get sortable columns from normal columns + sort columns, not from 'all_columns'

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@34615 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 3e23ef19
......@@ -54,7 +54,8 @@
base_form python:getattr(here,request[\'form_id\']);\n
groups base_form/get_groups;\n
listbox python:base_form.Form_getListbox();\n
columns python:listbox.get_value(\'all_columns\');\n
default_columns python: listbox.get_value(\'columns\');\n
columns python: default_columns + [x for x in listbox.get_value(\'sort_columns\') if x not in default_columns];\n
global row_index python:0;\n
global row_keys python:[\'None\'];\n
all_columns python: [(\'None\',\'\')] + columns;">\n
......
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