web/facet.py
changeset 5774 0d792bceb25d
parent 5768 1e73a466aa69
parent 5773 aae03cd19151
child 6038 5c5d819e8e93
--- a/web/facet.py	Thu Jun 17 14:43:16 2010 +0200
+++ b/web/facet.py	Thu Jun 17 15:15:52 2010 +0200
@@ -520,7 +520,7 @@
     def build_rql(self):#, tablefilter=False):
         form = self._cw.form
         facetids = form['facets'].split(',')
-        select = parse(form['baserql']).children[0] # XXX Union unsupported yet
+        select = self._cw.vreg.parse(self._cw, form['baserql']).children[0] # XXX Union unsupported yet
         mainvar = filtered_variable(select)
         toupdate = []
         for facetid in facetids: