[Erp5-report] r41783 nicolas.dumazet - /erp5/trunk/products/ERP5Form/ListBox.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Mon Dec 27 09:29:26 CET 2010
Author: nicolas.dumazet
Date: Mon Dec 27 09:29:26 2010
New Revision: 41783
URL: http://svn.erp5.org?rev=41783&view=rev
Log:
do not pass useless parameters to catalog that would be ignored anyway
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=41783&r1=41782&r2=41783&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Form/ListBox.py [utf8] (original)
+++ erp5/trunk/products/ERP5Form/ListBox.py [utf8] Mon Dec 27 09:29:26 2010
@@ -90,11 +90,12 @@ class CatalogMethodWrapper(MethodWrapper
for parameter_id in ('selection', 'selection_name', 'select_columns',
'reset', 'selection_index', 'list_selection_name', 'list_start',
'list_lines', 'listbox_list_start', 'listbox_uid', 'listbox_nextPage',
- 'listbox_previousPage',
+ 'listbox_previousPage', 'listbox_page_start', 'page_start',
# Also strip common HTML field names
# XXX: I'm not sure if those values really belong to here
'md5_object_uid_list', 'cancel_url', 'listbox_list_selection_name',
'form_id', 'select_language', 'select_favorite', 'select_module',
+ 'portal_status_message', 'all_languages',
'select_jump', 'select_action', 'Base_doSelect'):
kw.pop(parameter_id, None)
# Strip all entries which have an empty string as value (ie, an empty
More information about the Erp5-report
mailing list