web/component.py
changeset 2890 fdcb8a2bb6eb
parent 2819 b864288fd316
child 3023 7864fee8b4ec
--- a/web/component.py	Mon Aug 17 20:02:25 2009 +0200
+++ b/web/component.py	Mon Aug 17 20:02:57 2009 +0200
@@ -75,7 +75,7 @@
     no_previous_page_link = no_next_page_link = u''
 
     def __init__(self, req, rset, **kwargs):
-        super(NavigationComponent, self).__init__(req, rset, **kwargs)
+        super(NavigationComponent, self).__init__(req, rset=rset, **kwargs)
         self.starting_from = 0
         self.total = rset.rowcount