web/views/tableview.py
changeset 8102 619d41a4c770
parent 8094 bedf36fb17f1
child 8156 f47252e24354
child 8157 098c83a99807
equal deleted inserted replaced
8101:f9fa2f47572c 8102:619d41a4c770
   175     def initial_load(self):
   175     def initial_load(self):
   176         """We detect a bit heuristically if we are built for the first time.
   176         """We detect a bit heuristically if we are built for the first time.
   177         or from subsequent calls by the form filter or by the pagination hooks.
   177         or from subsequent calls by the form filter or by the pagination hooks.
   178         """
   178         """
   179         form = self._cw.form
   179         form = self._cw.form
   180         return 'fromformfilter' not in form and '__start' not in form
   180         return 'fromformfilter' not in form and '__fromnavigation' not in form
   181 
   181 
   182     def render(self, w, **kwargs):
   182     def render(self, w, **kwargs):
   183         assert self.display_filter in (None, 'top', 'bottom'), self.display_filter
   183         assert self.display_filter in (None, 'top', 'bottom'), self.display_filter
   184         if self.needs_css:
   184         if self.needs_css:
   185             self._cw.add_css(self.needs_css)
   185             self._cw.add_css(self.needs_css)