Commit e18e7564 authored by Yoshinori Okuji's avatar Yoshinori Okuji

Do not break compatibility with old ListBox_asHTML, otherwise the user cannot...

Do not break compatibility with old ListBox_asHTML, otherwise the user cannot even see portal_templates to upgrade the system.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@29049 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent fc04cb1b
......@@ -672,10 +672,12 @@ class ListBoxRenderer:
showAnchorColumn = lazyMethod(showAnchorColumn)
def isHideRowsOnNoSearchCriterion(self):
def isHideRowsOnNoSearchCriterion(self, REQUEST=None):
"""
Return a boolean that represents whether search rows are shown or not.
"""
# BBB REQUEST passed to this method is simply discarded. The parameter
# exists only for API compatibility.
REQUEST = self.request
hide_rows_on_no_search_criterion = \
self.field.get_value('hide_rows_on_no_search_criterion')
......
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