diff -r be8cfc00ae04 -r 11b6016e3970 web/box.py --- a/web/box.py Mon Sep 14 19:01:24 2009 +0200 +++ b/web/box.py Mon Sep 14 19:01:37 2009 +0200 @@ -60,7 +60,8 @@ result = [] actions_by_cat = {} for action in actions: - actions_by_cat.setdefault(action.category, []).append((action.title, action)) + actions_by_cat.setdefault(action.category, []).append( + (action.title, action) ) for key, values in actions_by_cat.items(): actions_by_cat[key] = [act for title, act in sorted(values)] for cat in self.categories_in_order: @@ -150,7 +151,7 @@ __select__ = EntityBoxTemplate.__select__ & partial_has_related_entities() def cell_call(self, row, col, **kwargs): - entity = self.entity(row, col) + entity = self.rset.get_entity(row, col) limit = self.req.property_value('navigation.related-limit') + 1 role = get_role(self) self.w(u'