Commit 13fadaad authored by Aurel's avatar Aurel

if lines number is 0, render the listbox on one page only


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@4784 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent aa12c4da
......@@ -1105,7 +1105,7 @@ class ListBoxWidget(Widget.Widget):
total_size = 0
for s in report_sections:
total_size += s[4]
if render_format == 'list':
if render_format == 'list' or lines == 0:
end = total_size
total_pages = 1
current_page = 0
......
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