Commit 3cc10f8d authored by Romain Courteaud's avatar Romain Courteaud

Do not call getReportSectionList if hide_rows_on_no_search_criterion is used.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@28305 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 741a3b8c
......@@ -1835,7 +1835,10 @@ class ListBoxRenderer:
"""
start = self.getLineStart()
max_lines = self.getMaxLineNumber()
report_section_list = self.getReportSectionList()
if self.isHideRowsOnNoSearchCriterion():
report_section_list = []
else:
report_section_list = self.getReportSectionList()
param_dict = self.getParamDict()
# Set the total number of objects.
......
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