Commit 82b098a8 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

combine 'Columns' items and 'More Columns' items in ListBox configure dialog....

combine 'Columns' items and 'More Columns' items in ListBox configure dialog. now we don't need to include duplicate items in 'More Columns' that already exist in 'Columns'.
FYI, ListBoxRenderer.getAllColumnList() is already implemented like the above.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@29828 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 0d1c2eca
......@@ -59,7 +59,7 @@
global row_index python: 0;\n
global row_keys python: [\'None\'];\n
global stats python: [\' \',\'count\',\'sum\',\'max\',\'min\',\'avg\'];\n
all_columns python: listbox.get_value(\'all_columns\')">\n
all_columns python: default_columns + [x for x in listbox.get_value(\'all_columns\') if x not in default_columns]">\n
<tal:block tal:repeat="item columns">\n
<tr tal:define="global row_index python:row_index+1;\n
dummy python:row_keys.append(item[0])"\n
......
844
\ No newline at end of file
845
\ 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