Author: doogie
Date: Fri Jun 4 20:18:37 2010
New Revision: 951553
URL:
http://svn.apache.org/viewvc?rev=951553&view=revLog:
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;
}