[facet] rqlst should be the select node stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Wed, 17 Feb 2010 16:42:52 +0100
branchstable
changeset 4618 412a9f1f5fd0
parent 4617 9422469b8acb
child 4619 f4254586e867
[facet] rqlst should be the select node
web/views/tableview.py
--- a/web/views/tableview.py	Wed Feb 17 16:27:01 2010 +0100
+++ b/web/views/tableview.py	Wed Feb 17 16:42:52 2010 +0100
@@ -37,7 +37,7 @@
         self._cw.vreg.rqlhelper.annotate(rqlst)
         mainvar, baserql = prepare_facets_rqlst(rqlst, self.cw_rset.args)
         wdgs = [facet.get_widget() for facet in self._cw.vreg['facets'].poss_visible_objects(
-            self._cw, rset=self.cw_rset, rqlst=rqlst, context='tablefilter',
+            self._cw, rset=self.cw_rset, rqlst=rqlst.children[0], context='tablefilter',
             filtered_variable=mainvar)]
         wdgs = [wdg for wdg in wdgs if wdg is not None]
         if wdgs: