web/views/tableview.py
branchstable
changeset 4618 412a9f1f5fd0
parent 4617 9422469b8acb
child 5234 e2476d78b060
child 5312 d2dbba898a96
equal deleted inserted replaced
4617:9422469b8acb 4618:412a9f1f5fd0
    35             return ()
    35             return ()
    36         rqlst = rqlst.copy()
    36         rqlst = rqlst.copy()
    37         self._cw.vreg.rqlhelper.annotate(rqlst)
    37         self._cw.vreg.rqlhelper.annotate(rqlst)
    38         mainvar, baserql = prepare_facets_rqlst(rqlst, self.cw_rset.args)
    38         mainvar, baserql = prepare_facets_rqlst(rqlst, self.cw_rset.args)
    39         wdgs = [facet.get_widget() for facet in self._cw.vreg['facets'].poss_visible_objects(
    39         wdgs = [facet.get_widget() for facet in self._cw.vreg['facets'].poss_visible_objects(
    40             self._cw, rset=self.cw_rset, rqlst=rqlst, context='tablefilter',
    40             self._cw, rset=self.cw_rset, rqlst=rqlst.children[0], context='tablefilter',
    41             filtered_variable=mainvar)]
    41             filtered_variable=mainvar)]
    42         wdgs = [wdg for wdg in wdgs if wdg is not None]
    42         wdgs = [wdg for wdg in wdgs if wdg is not None]
    43         if wdgs:
    43         if wdgs:
    44             self._generate_form(divid, baserql, wdgs, hidden,
    44             self._generate_form(divid, baserql, wdgs, hidden,
    45                                vidargs={'displaycols': displaycols,
    45                                vidargs={'displaycols': displaycols,