# HG changeset patch # User Sylvain Thénault # Date 1274881788 -7200 # Node ID d179e8229642d4b141f5762bae2c664911ac714c # Parent fe7d84363d23592f55783b215cef4a88c7a136ba [adapters] fix bad copy and past.... diff -r fe7d84363d23 -r d179e8229642 web/views/navigation.py --- 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: