Commit 706550b4 authored by Jean-Paul Smets's avatar Jean-Paul Smets

fixed missing columns in default build stat_columns


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@1298 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 7e0d8e8c
...@@ -387,6 +387,8 @@ class ListBoxWidget(Widget.Widget): ...@@ -387,6 +387,8 @@ class ListBoxWidget(Widget.Widget):
stat_columns = [] stat_columns = []
for column in all_columns: for column in all_columns:
stat_columns.append((column[0], column[0])) stat_columns.append((column[0], column[0]))
for column in columns: # Sometimes, all_columns is not defined
stat_columns.append((column[0], column[0]))
if not url_columns: if not url_columns:
url_columns = [] url_columns = []
......
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