Commit 08140206 authored by Jérome Perrin's avatar Jérome Perrin

ERP5Form/ListBox: prevent an useless log about total_size being ignored

Since 405ee70e (SelectionTool/Listbox: Fix in calculating the start of last page in selection, 2018-10-17)
we have total_size in selection params. We don't want this to be propagated to
catalog search, otherwise it cause a warning that this is an unknown catalog key.
parent 23cc85e9
Pipeline #15401 failed with stage
in 0 seconds
......@@ -94,7 +94,7 @@ class CatalogMethodWrapper(MethodWrapper):
'form_id', 'select_language', 'select_favorite', 'select_module',
'portal_status_message', 'all_languages',
'ignore_layout', 'report_depth', 'object_path', 'object_uid',
'checked_permission', 'editable_mode',
'checked_permission', 'editable_mode', 'total_size',
'select_jump', 'select_action', 'Base_doSelect'):
kw.pop(parameter_id, None)
# Strip all entries which have an empty string as value (ie, an empty
......
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