branch | stable |
changeset 4864 | e77d3e95872d |
parent 4719 | aaed3f813ef8 |
child 4868 | e34cbd85d14d |
--- a/web/request.py Thu Mar 11 16:42:13 2010 +0100 +++ b/web/request.py Thu Mar 11 16:43:00 2010 +0100 @@ -287,7 +287,11 @@ if breadcrumbs is None: breadcrumbs = SizeConstrainedList(10) self.set_session_data('breadcrumbs', breadcrumbs) - breadcrumbs.append(self.url()) + breadcrumbs.append(self.url()) + else: + url = self.url() + if breadcrumbs[-1] != url: + breadcrumbs.append(url) def last_visited_page(self): breadcrumbs = self.get_session_data('breadcrumbs', None)