[Erp5-report] r29049 - /erp5/trunk/products/ERP5Form/ListBox.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Tue Sep 15 06:28:18 CEST 2009
Author: yo
Date: Tue Sep 15 06:28:17 2009
New Revision: 29049
URL: http://svn.erp5.org?rev=29049&view=rev
Log:
Do not break compatibility with old ListBox_asHTML, otherwise the user cannot even see portal_templates to upgrade the system.
Modified:
erp5/trunk/products/ERP5Form/ListBox.py
Modified: erp5/trunk/products/ERP5Form/ListBox.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Form/ListBox.py?rev=29049&r1=29048&r2=29049&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Form/ListBox.py [utf8] (original)
+++ erp5/trunk/products/ERP5Form/ListBox.py [utf8] Tue Sep 15 06:28:17 2009
@@ -672,10 +672,12 @@
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')
More information about the Erp5-report
mailing list