svn commit: r951553 - /ofbiz/trunk/framework/entity/src/org/ofbiz/entity/condition/EntityConditionBase.java

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r951553 - /ofbiz/trunk/framework/entity/src/org/ofbiz/entity/condition/EntityConditionBase.java

doogie-3
Author: doogie
Date: Fri Jun  4 20:18:37 2010
New Revision: 951553

URL: http://svn.apache.org/viewvc?rev=951553&view=rev
Log:
Fix incorrect order by output in sql generation, which fixes OFBIZ-3789;
namely, there was incorrect sql generated when doing a product keyword
search.

Modified:
    ofbiz/trunk/framework/entity/src/org/ofbiz/entity/condition/EntityConditionBase.java

Modified: ofbiz/trunk/framework/entity/src/org/ofbiz/entity/condition/EntityConditionBase.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/entity/src/org/ofbiz/entity/condition/EntityConditionBase.java?rev=951553&r1=951552&r2=951553&view=diff
==============================================================================
--- ofbiz/trunk/framework/entity/src/org/ofbiz/entity/condition/EntityConditionBase.java (original)
+++ ofbiz/trunk/framework/entity/src/org/ofbiz/entity/condition/EntityConditionBase.java Fri Jun  4 20:18:37 2010
@@ -67,7 +67,7 @@ public abstract class EntityConditionBas
     protected String getColName(ModelField modelField, String fieldName) {
         String colName = null;
         if (modelField != null) {
-            colName = modelField.getColName();
+            colName = modelField.getColValue();
         } else {
             colName = fieldName;
         }