web/views/tableview.py
branchstable
changeset 8480 086cff6a306a
parent 8425 b86bdc343c18
child 8535 268b6349baf3
equal deleted inserted replaced
8479:19cc6eb51783 8480:086cff6a306a
   172         elif isinstance(self.header_column_idx, int):
   172         elif isinstance(self.header_column_idx, int):
   173             self.header_column_idx = frozenset( (self.header_column_idx,) )
   173             self.header_column_idx = frozenset( (self.header_column_idx,) )
   174 
   174 
   175     @cachedproperty
   175     @cachedproperty
   176     def initial_load(self):
   176     def initial_load(self):
   177         """We detect a bit heuristically if we are built for the first time.
   177         """We detect a bit heuristically if we are built for the first time or
   178         or from subsequent calls by the form filter or by the pagination hooks.
   178         from subsequent calls by the form filter or by the pagination hooks.
   179         """
   179         """
   180         form = self._cw.form
   180         form = self._cw.form
   181         return 'fromformfilter' not in form and '__fromnavigation' not in form
   181         return 'fromformfilter' not in form and '__fromnavigation' not in form
   182 
   182 
   183     def render(self, w, **kwargs):
   183     def render(self, w, **kwargs):