diff --git a/product/ERP5Form/Selection.py b/product/ERP5Form/Selection.py index 6e4e2b65e7984a7a104a192ed5dab19f1b1fa58a..48e237e4cb0dd6c25684cbe77ec73cca2f8d9e0a 100644 --- a/product/ERP5Form/Selection.py +++ b/product/ERP5Form/Selection.py @@ -189,6 +189,8 @@ class Selection(Acquisition.Implicit, Traversable, Persistent): #LOG("Selection", 0, str(method)) #LOG('Selection', 0, "self.invert_mode = %s" % repr(self.invert_mode)) kw = self.params.copy() + # Always remove '-C'-named parameter. + kw.pop('-C', None) if self.invert_mode is not 0: kw['uid'] = self.uids if method is None or isinstance(method, str):