web/facet.py
branchstable
changeset 5773 aae03cd19151
parent 5618 24cc5d495fdf
child 5774 0d792bceb25d
--- a/web/facet.py	Thu Jun 17 15:08:25 2010 +0200
+++ b/web/facet.py	Thu Jun 17 15:09:12 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: