Author: doogie
Date: Thu Oct 18 08:56:48 2007
New Revision: 586018
URL:
http://svn.apache.org/viewvc?rev=586018&view=revLog:
Fix error reported on mailing list; in essence, it appeared that
conditions weren't being processed. This was due to a cut-n-waste
issue; both whereCondition and havingCondition called
getHavingEntityCondition(doh!).
Modified:
ofbiz/trunk/framework/entity/src/org/ofbiz/entity/finder/ListFinder.java
Modified: ofbiz/trunk/framework/entity/src/org/ofbiz/entity/finder/ListFinder.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/entity/src/org/ofbiz/entity/finder/ListFinder.java?rev=586018&r1=586017&r2=586018&view=diff==============================================================================
--- ofbiz/trunk/framework/entity/src/org/ofbiz/entity/finder/ListFinder.java (original)
+++ ofbiz/trunk/framework/entity/src/org/ofbiz/entity/finder/ListFinder.java Thu Oct 18 08:56:48 2007
@@ -136,7 +136,7 @@
delegator = GenericDelegator.getGenericDelegator(delegatorName);
}
- EntityCondition whereEntityCondition = getHavingEntityCondition(context, modelEntity, delegator);
+ EntityCondition whereEntityCondition = getWhereEntityCondition(context, modelEntity, delegator);
EntityCondition havingEntityCondition = getHavingEntityCondition(context, modelEntity, delegator);
if (useCache) {
// if useCache == true && outputHandler instanceof UseIterator, throw exception; not a valid combination