web/views/tableview.py
branchstable
changeset 4618 412a9f1f5fd0
parent 4617 9422469b8acb
child 5234 e2476d78b060
child 5312 d2dbba898a96
--- 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: