[Erp5-report] r33653 vincent - /erp5/trunk/products/ZSQLCatalog/Operator/ComparisonOperator.py

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Mar 11 15:37:11 CET 2010


Author: vincent
Date: Thu Mar 11 15:37:10 2010
New Revision: 33653

URL: http://svn.erp5.org?rev=33653&view=rev
Log:
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.

Modified:
    erp5/trunk/products/ZSQLCatalog/Operator/ComparisonOperator.py

Modified: erp5/trunk/products/ZSQLCatalog/Operator/ComparisonOperator.py
URL: http://svn.erp5.org/erp5/trunk/products/ZSQLCatalog/Operator/ComparisonOperator.py?rev=33653&r1=33652&r2=33653&view=diff
==============================================================================
--- erp5/trunk/products/ZSQLCatalog/Operator/ComparisonOperator.py [utf8] (original)
+++ erp5/trunk/products/ZSQLCatalog/Operator/ComparisonOperator.py [utf8] Thu Mar 11 15:37:10 2010
@@ -119,7 +119,7 @@
     # Sort on this column uses relevance.
     # TODO: Add a way to allow sorting by raw column value.
     order_by_dict = {
-      column: self.where_expression_format_string,
+      column: match_string,
     }
     return SQLExpression(
       self,




More information about the Erp5-report mailing list