--- a/web/views/ibreadcrumbs.py Wed Aug 12 18:40:52 2009 +0200
+++ b/web/views/ibreadcrumbs.py Wed Aug 12 19:09:32 2009 +0200
@@ -36,7 +36,7 @@
separator = u' > '
def call(self, view=None, first_separator=True):
- entity = self.entity(0)
+ entity = self.rset.get_entity(0,0)
path = entity.breadcrumbs(view)
if path:
self.w(u'<span class="pathbar">')
@@ -80,7 +80,7 @@
id = 'breadcrumbs'
def cell_call(self, row, col):
- entity = self.entity(row, col)
+ entity = self.rset.get_entity(row, col)
desc = xml_escape(cut(entity.dc_description(), 50))
self.w(u'<a href="%s" title="%s">%s</a>' % (
xml_escape(entity.absolute_url()), desc, bc_title(entity)))