web/views/navigation.py
changeset 4382 6fb02edd05da
parent 4357 ef8e20bfa287
child 4719 aaed3f813ef8
--- a/web/views/navigation.py	Tue Jan 26 20:29:52 2010 +0100
+++ b/web/views/navigation.py	Tue Jan 26 20:30:35 2010 +0100
@@ -214,7 +214,7 @@
         nav.clean_params(params)
         # make a link to see them all
         if show_all_option:
-            url = xml_escape(view.build_url(__force_display=1, **params))
+            url = xml_escape(req.build_url(__force_display=1, **params))
             w(u'<span><a href="%s">%s</a></span>\n'
               % (url, req._('show %s results') % len(rset)))
         rset.limit(offset=start, limit=stop-start, inplace=True)