diff --git a/product/ERP5Form/ListBox.py b/product/ERP5Form/ListBox.py index 7b7a91e23c6857f72eb0572a9dc87e1a82f8b844..5b5c641aed1c940ed0e59cba9d11d771552dfb87 100644 --- a/product/ERP5Form/ListBox.py +++ b/product/ERP5Form/ListBox.py @@ -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')