diff -r e19e586cc74e -r 03681ba6da0b web/views/primary.py --- a/web/views/primary.py Wed Dec 09 12:20:05 2009 +0100 +++ b/web/views/primary.py Wed Dec 09 12:23:31 2009 +0100 @@ -196,7 +196,7 @@ # default to 1000 so view boxes occurs after component boxes return x[-1].get('order', 1000) # x is a component box - return x.propval('order') + return x.cw_propval('order') return sorted(sideboxes, key=get_order) def _section_def(self, entity, where): @@ -255,7 +255,7 @@ # nb: rset retreived using entity.related with limit + 1 if any # because of that, we known that rset.printable_rql() will return # rql with no limit set anyway (since it's handled manually) - if 'dispctrl' in self.extra_kwargs: + if 'dispctrl' in self.cw_extra_kwargs: limit = self.extra_kwargs['dispctrl'].get('limit') else: limit = None