B bugfix in json controller stable
authorNicolas Chauvat <nicolas.chauvat@logilab.fr>
Sun, 16 Aug 2009 19:45:38 +0200
branchstable
changeset 2862 08d214ffa514
parent 2861 9cb3027407aa
child 2865 a791b39470cf
B bugfix in json controller
web/views/basecontrollers.py
--- a/web/views/basecontrollers.py	Fri Aug 14 22:21:45 2009 +0200
+++ b/web/views/basecontrollers.py	Sun Aug 16 19:45:38 2009 +0200
@@ -310,7 +310,7 @@
                 vtitle = self.req.form.get('vtitle')
                 if vtitle:
                     stream.write(u'<h1 class="vtitle">%s</h1>\n' % vtitle)
-            view.pagination(req, rset, view.w, not view.need_navigation)
+            view.pagination(req, self.rset, view.w, not view.need_navigation)
             if divid == 'pageContent':
                 stream.write(u'<div id="contentmain">')
         view.render(**kwargs)