use view.paginate stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Mon, 17 Aug 2009 10:31:28 +0200
branchstable
changeset 2870 e3a5b7c3f767
parent 2868 937890e25765
child 2871 83c5499e1436
use view.paginate
web/views/basecontrollers.py
--- a/web/views/basecontrollers.py	Sun Aug 16 20:41:06 2009 +0200
+++ b/web/views/basecontrollers.py	Mon Aug 17 10:31:28 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, self.rset, view.w, not view.need_navigation)
+            view.paginate()
             if divid == 'pageContent':
                 stream.write(u'<div id="contentmain">')
         view.render(**kwargs)