web/views/navigation.py
changeset 2789 39712da6f397
parent 2770 356e9d7c356d
child 3023 7864fee8b4ec
--- a/web/views/navigation.py	Wed Aug 12 18:40:52 2009 +0200
+++ b/web/views/navigation.py	Wed Aug 12 19:09:32 2009 +0200
@@ -187,7 +187,7 @@
     context = 'navbottom'
     order = 10
     def call(self, view=None):
-        entity = self.entity(0)
+        entity = self.rset.get_entity(0,0)
         previous = entity.previous_entity()
         next = entity.next_entity()
         if previous or next: