web/views/facets.py
branchstable
changeset 5282 d7f72547208e
parent 5112 5bf8baecfaf8
child 5377 84d14ddfae13
--- a/web/views/facets.py	Thu Apr 15 15:14:21 2010 +0200
+++ b/web/views/facets.py	Thu Apr 15 15:16:01 2010 +0200
@@ -69,7 +69,7 @@
         rset, vid, divid, paginate = self._get_context(view)
         if rset.rowcount < 2: # XXX done by selectors, though maybe necessary when rset has been hijacked
             return
-        rqlst = self.cw_rset.syntax_tree()
+        rqlst = rset.syntax_tree()
         # union not yet supported
         if len(rqlst.children) != 1:
             return ()