Commit edb3a048 authored by Vincent Pelletier's avatar Vincent Pelletier

Strip some more non-SQLCatalog parameters.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@26564 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent b8253d96
......@@ -84,7 +84,9 @@ class CatalogMethodWrapper(MethodWrapper):
SQLCatalog API.
"""
def __call__(self, *args, **kw):
for parameter_id in ('selection', 'selection_name'):
for parameter_id in ('selection', 'selection_name', 'select_columns',
'reset', 'selection_index', 'list_selection_name',
'list_start', 'list_lines'):
kw.pop(parameter_id, None)
return getattr(self.context, self.method_name)(*args, **kw)
......
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