web/views/navigation.py
changeset 5595 d179e8229642
parent 5556 9ab2b4c74baf
child 5627 a7e40cccdc9b
--- a/web/views/navigation.py	Wed May 26 15:46:27 2010 +0200
+++ b/web/views/navigation.py	Wed May 26 15:49:48 2010 +0200
@@ -190,7 +190,7 @@
     order = 10
     def call(self, view=None):
         entity = self.cw_rset.get_entity(0, 0)
-        adapter = entity.cw_adapt_to('IDownloadable')
+        adapter = entity.cw_adapt_to('IPrevNext')
         previous = adapter.previous_entity()
         next = adapter.next_entity()
         if previous or next: