Commit ca3390bd authored by Vincent Pelletier's avatar Vincent Pelletier

Fix "ORDER BY" expression part generated by fulltext operators.

This was always broken, and went unnoticed because of another breakage: these
expressions were never rendered in final SQL. That will be fixed in a separate
commit.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@33653 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent b29d4e73
...@@ -119,7 +119,7 @@ class MatchComparisonOperator(MonovaluedComparisonOperator): ...@@ -119,7 +119,7 @@ class MatchComparisonOperator(MonovaluedComparisonOperator):
# Sort on this column uses relevance. # Sort on this column uses relevance.
# TODO: Add a way to allow sorting by raw column value. # TODO: Add a way to allow sorting by raw column value.
order_by_dict = { order_by_dict = {
column: self.where_expression_format_string, column: match_string,
} }
return SQLExpression( return SQLExpression(
self, self,
......
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