Commit 9848f630 authored by Vincent Pelletier's avatar Vincent Pelletier

Fix UnboundLocalError when rendering an EntireQuery as SearchText. Spotted by Kazuhiko, thanks.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@25929 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 46f0e40f
......@@ -68,7 +68,7 @@ class EntireQuery(object):
self.from_expression = from_expression
def asSearchTextExpression(self, sql_catalog):
return query.asSearchTextExpression(sql_catalog)
return self.query.asSearchTextExpression(sql_catalog)
@profiler_decorator
def asSQLExpression(self, sql_catalog, only_group_columns):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment