web/views/basecontrollers.py
branchstable
changeset 6250 76c32e4a9b0f
parent 6249 1729f53b3e42
child 6279 42079f752a9c
child 6283 c827fa795a6b
--- a/web/views/basecontrollers.py	Wed Sep 15 17:20:56 2010 +0200
+++ b/web/views/basecontrollers.py	Wed Sep 15 17:21:05 2010 +0200
@@ -411,8 +411,6 @@
             rset = self._exec(rql)
         else:
             rset = None
-        extraargs = optional_kwargs(extraargs)
-        extraargs.setdefault('paginate', False)
         # XXX while it sounds good, addition of the try/except below cause pb:
         # when filtering using facets return an empty rset, the edition box
         # isn't anymore selectable, as expected. The pb is that with the
@@ -422,7 +420,7 @@
         # error is expected and should'nt be reported.
         #try:
         comp = self._cw.vreg[registry].select(compid, self._cw, rset=rset,
-                                              **extraargs)
+                                              **optional_kwargs(extraargs))
         #except NoSelectableObject:
         #    raise RemoteCallFailed('unselectable')
         return self._call_view(comp, **extraargs)