author | Sylvain Thénault <sylvain.thenault@logilab.fr> |
Wed, 26 May 2010 15:49:48 +0200 | |
changeset 5595 | d179e8229642 |
parent 5594 | fe7d84363d23 |
child 5597 | 180229f07c12 |
--- 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: