[Erp5-report] r24125 - /erp5/trunk/products/ERP5Form/ListBox.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Thu Oct 9 17:05:35 CEST 2008
Author: romain
Date: Thu Oct 9 17:05:26 2008
New Revision: 24125
URL: http://svn.erp5.org?rev=24125&view=rev
Log:
Selection's params attribute should be a dict (or it will be removed by
Selection.getParams method), so cast the value to a dict.
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=24125&r1=24124&r2=24125&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Form/ListBox.py (original)
+++ erp5/trunk/products/ERP5Form/ListBox.py Thu Oct 9 17:05:26 2008
@@ -861,7 +861,7 @@
# Create a selection, if not present, with the default sort order.
if selection is None:
- selection = Selection(params = self.getDefaultParamList(), default_sort_on = self.getDefaultSortColumnList())
+ selection = Selection(params = dict(self.getDefaultParamList()), default_sort_on = self.getDefaultSortColumnList())
selection = selection.__of__(selection_tool)
# Or make sure all sort arguments are valid.
else:
More information about the Erp5-report
mailing list