web/views/tableview.py
changeset 2813 0cf6c8005bf6
parent 2792 135580d15d42
child 3023 7864fee8b4ec
equal deleted inserted replaced
2805:c6d10de521bc 2813:0cf6c8005bf6
    32         # union not yet supported
    32         # union not yet supported
    33         if len(rqlst.children) != 1:
    33         if len(rqlst.children) != 1:
    34             return ()
    34             return ()
    35         rqlst.save_state()
    35         rqlst.save_state()
    36         mainvar, baserql = prepare_facets_rqlst(rqlst, self.rset.args)
    36         mainvar, baserql = prepare_facets_rqlst(rqlst, self.rset.args)
    37         wdgs = [facet.get_widget() for facet in self.vreg['facets'].possible_vobjects(
    37         wdgs = [facet.get_widget() for facet in self.vreg['facets'].poss_visible_objects(
    38             self.req, rset=self.rset, context='tablefilter',
    38             self.req, rset=self.rset, context='tablefilter',
    39             filtered_variable=mainvar)]
    39             filtered_variable=mainvar)]
    40         wdgs = [wdg for wdg in wdgs if wdg is not None]
    40         wdgs = [wdg for wdg in wdgs if wdg is not None]
    41         rqlst.recover()
    41         rqlst.recover()
    42         if wdgs:
    42         if wdgs: