[Erp5-report] r25815 - /erp5/trunk/products/ZSQLCatalog/SearchKey/SearchKey.py

nobody at svn.erp5.org nobody at svn.erp5.org
Tue Mar 3 12:59:31 CET 2009


Author: vincent
Date: Tue Mar  3 12:59:31 2009
New Revision: 25815

URL: http://svn.erp5.org?rev=25815&view=rev
Log:
Use new Operator API to render as SearchText.

Modified:
    erp5/trunk/products/ZSQLCatalog/SearchKey/SearchKey.py

Modified: erp5/trunk/products/ZSQLCatalog/SearchKey/SearchKey.py
URL: http://svn.erp5.org/erp5/trunk/products/ZSQLCatalog/SearchKey/SearchKey.py?rev=25815&r1=25814&r2=25815&view=diff
==============================================================================
--- erp5/trunk/products/ZSQLCatalog/SearchKey/SearchKey.py [utf8] (original)
+++ erp5/trunk/products/ZSQLCatalog/SearchKey/SearchKey.py [utf8] Tue Mar  3 12:59:31 2009
@@ -113,7 +113,7 @@
 
   @profiler_decorator
   def buildSearchTextExpression(self, operator, value, column=None):
-    operator_text = operator.getOperator()
+    operator_text = operator.getOperatorSearchText()
     if column is None:
       column = self.getColumn()
     if isinstance(value, (list, tuple)):




More information about the Erp5-report mailing list