[navigation] for rql to the one of the rset being paginated stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Thu, 16 Sep 2010 15:40:54 +0200
branchstable
changeset 6265 27417b8b94ed
parent 6264 0dcd19d89767
child 6266 de588e756f4f
[navigation] for rql to the one of the rset being paginated
web/component.py
--- a/web/component.py	Thu Sep 16 14:11:12 2010 +0200
+++ b/web/component.py	Thu Sep 16 15:40:54 2010 +0200
@@ -151,7 +151,7 @@
 
     def ajax_page_url(self, **params):
         divid = params.setdefault('divid', 'pageContent')
-        params.setdefault('rql', self.cw_rset.printable_rql())
+        params['rql'] = self.cw_rset.printable_rql()
         return "javascript: $(%s).loadxhtml('json', %s, 'get', 'swap')" % (
             json_dumps('#'+divid), js.ajaxFuncArgs('view', params))