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,6 +1835,9 @@ class ListBoxRenderer: ...@@ -1835,6 +1835,9 @@ class ListBoxRenderer:
""" """
start = self.getLineStart() start = self.getLineStart()
max_lines = self.getMaxLineNumber() max_lines = self.getMaxLineNumber()
if self.isHideRowsOnNoSearchCriterion():
report_section_list = []
else:
report_section_list = self.getReportSectionList() report_section_list = self.getReportSectionList()
param_dict = self.getParamDict() param_dict = self.getParamDict()
......
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