web/views/navigation.py
changeset 2650 18aec79ec3a3
parent 2613 5e19c2bb370e
child 2770 356e9d7c356d
child 2996 866a2c135c33
--- a/web/views/navigation.py	Mon Aug 03 09:37:13 2009 +0200
+++ b/web/views/navigation.py	Mon Aug 03 10:50:57 2009 +0200
@@ -149,7 +149,7 @@
 def limit_rset_using_paged_nav(self, req, rset, w, forcedisplay=False,
                                show_all_option=True, page_size=None):
     if not (forcedisplay or req.form.get('__force_display') is not None):
-        nav = self.vreg.select_object('components', 'navigation', req,
+        nav = self.vreg['components'].select_object('navigation', req,
                                       rset=rset, page_size=page_size)
         if nav:
             # get boundaries before component rendering