Commit 6ae69bf1 authored by Yoshinori Okuji's avatar Yoshinori Okuji

Define select_expression even when show_stat is false.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@1381 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 93a72a6b
......@@ -729,9 +729,9 @@ class ListBoxWidget(Widget.Widget):
# Prepare the stat select_expression
#
###############################################################
select_expression = ''
if show_stat:
stats = here.portal_selections.getSelectionStats(selection_name, REQUEST=REQUEST)
select_expression = ''
index = 0
for (sql,title,alias) in extended_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