[ERP5Form product] Avoid passing total_size twice.

In some cases 'total_size' was duplicated in selection and request causing listbox rendering to fail.
parent b4bf839a
......@@ -2081,6 +2081,8 @@ class ListBoxRenderer:
else:
index = i
#LOG('ListBox', 0, 'current_section.__dict__ = %r' % (current_section.__dict__,))
if 'total_size' in param_dict.keys():
param_dict.pop('total_size')
row_css_class_name = self.getRowCSSClassName(
brain=current_section.object_list[offset],
field=self.field,
......
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