web/views/magicsearch.py
changeset 8510 e2913c9880a0
parent 8505 dcd9bc1d1bca
child 8695 358d8bed9626
--- a/web/views/magicsearch.py	Wed Aug 01 10:47:27 2012 +0200
+++ b/web/views/magicsearch.py	Thu Aug 02 10:09:11 2012 +0200
@@ -1,4 +1,4 @@
-# copyright 2003-2011 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+# copyright 2003-2012 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
 # contact http://www.logilab.fr/ -- mailto:contact@logilab.fr
 #
 # This file is part of CubicWeb.
@@ -452,7 +452,7 @@
             else:
                 restrictions, incomplete_part = '', restrictions
                 user_rql = variables
-            select = parse(user_rql).children[0]
+            select = parse(user_rql, print_errors=False).children[0]
             req.vreg.rqlhelper.annotate(select)
             req.vreg.solutions(req, select, {})
             if restrictions: