diff MPIWGDepartment.py @ 192:dbc397782c76

fix bugs with new breadcrumbs.
author casties
date Wed, 19 Jun 2013 12:56:45 +0200
parents 246d87d33f25
children 5d17c46ebffa
line wrap: on
line diff
--- a/MPIWGDepartment.py	Wed Jun 19 11:52:48 2013 +0200
+++ b/MPIWGDepartment.py	Wed Jun 19 12:56:45 2013 +0200
@@ -213,7 +213,7 @@
 
     def getBreadcrumbs(self):
         """return list of breadcrumbs from here to the root"""
-        crumbs = [(self.getFullTitle(), self.absolute_url(), self)]
+        crumbs = [{'text':self.getFullTitle(), 'url':self.absolute_url(), 'object':self}]
         parent = self.aq_parent
         if hasattr(parent, 'getBreadcrumbs'):
             if self.title: