Commit 51cc1540 authored by Jérome Perrin's avatar Jérome Perrin

"saved_form_data" is a dict used for relation field, it should not be passed to

catalog.



git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17806 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent bab68dd8
...@@ -946,6 +946,9 @@ class ListBoxRenderer: ...@@ -946,6 +946,9 @@ class ListBoxRenderer:
if v in (None, '') or hasattr(v, 'read'): if v in (None, '') or hasattr(v, 'read'):
del params[k] del params[k]
# remove some erp5_xhtml_style specific parameters
params.pop('saved_form_data', None)
# Set the columns. The idea behind this is that, instead of selecting all columns, # Set the columns. The idea behind this is that, instead of selecting all columns,
# ListBox can specify only required columns, in order to reduce the data transferred # ListBox can specify only required columns, in order to reduce the data transferred
# from a SQL Server to Zope. # from a SQL Server to Zope.
......
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