--- a/web/views/basetemplates.py Thu Feb 19 23:31:43 2009 +0100
+++ b/web/views/basetemplates.py Thu Feb 19 23:32:46 2009 +0100
@@ -112,8 +112,8 @@
if etypefilter and etypefilter.propval('visible'):
etypefilter.dispatch(w=w)
self.nav_html = UStringIO()
- self.pagination(self.req, self.rset, self.nav_html.write,
- not (view and view.need_navigation))
+ if view and view.need_navigation:
+ view.paginate(w=self.nav_html.write)
w(_(self.nav_html.getvalue()))
w(u'<div id="contentmain">\n')
view.dispatch(w=w)