strange, how does it work by computing maxrelated once everything is done ?
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Tue, 21 Jul 2009 12:59:31 +0200
changeset 2402 321a87654988
parent 2400 17b1f0b80fe8
child 2417 18a14c23413c
child 2420 46c83be959b7
strange, how does it work by computing maxrelated once everything is done ?
web/views/primary.py
--- a/web/views/primary.py	Tue Jul 21 12:44:36 2009 +0200
+++ b/web/views/primary.py	Tue Jul 21 12:59:31 2009 +0200
@@ -39,9 +39,9 @@
 
     def cell_call(self, row, col):
         self.row = row
+        self.maxrelated = self.req.property_value('navigation.related-limit')
         entity = self.complete_entity(row, col)
         self.render_entity(entity)
-        self.maxrelated = self.req.property_value('navigation.related-limit')
 
     def render_entity(self, entity):
         self.render_entity_title(entity)