B [views] fixing breadcrumbs stable
authorNicolas Chauvat <nicolas.chauvat@logilab.fr>
Wed, 26 Aug 2009 20:23:27 +0200
branchstable
changeset 3030 e086df78e267
parent 3028 6484158121b4
child 3031 732c06e89906
B [views] fixing breadcrumbs
web/views/ibreadcrumbs.py
--- a/web/views/ibreadcrumbs.py	Wed Aug 26 19:17:53 2009 +0200
+++ b/web/views/ibreadcrumbs.py	Wed Aug 26 20:23:27 2009 +0200
@@ -85,7 +85,7 @@
             self.w(u'<a href="%s">%s</a>' % (self.req.build_url(root.id),
                                              root.dc_type('plural')))
         else:
-            self.wpath_part(root, entity, not path)
+            self.wpath_part(root, contextentity, not path)
 
 
 class BreadCrumbAnyRSetVComponent(BreadCrumbEntityVComponent):