--- 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: