Author: lektran
Date: Fri Jul 18 15:51:00 2008
New Revision: 678069
URL:
http://svn.apache.org/viewvc?rev=678069&view=revLog:
Bugfix
Modified:
ofbiz/trunk/applications/order/webapp/ordermgr/WEB-INF/actions/requirement/SelectCreatedProposed.groovy
Modified: ofbiz/trunk/applications/order/webapp/ordermgr/WEB-INF/actions/requirement/SelectCreatedProposed.groovy
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/webapp/ordermgr/WEB-INF/actions/requirement/SelectCreatedProposed.groovy?rev=678069&r1=678068&r2=678069&view=diff==============================================================================
--- ofbiz/trunk/applications/order/webapp/ordermgr/WEB-INF/actions/requirement/SelectCreatedProposed.groovy (original)
+++ ofbiz/trunk/applications/order/webapp/ordermgr/WEB-INF/actions/requirement/SelectCreatedProposed.groovy Fri Jul 18 15:51:00 2008
@@ -25,13 +25,13 @@
import org.ofbiz.entity.condition.EntityOperator;
prepare = dispatcher.runSync("prepareFind", [inputFields : parameters, entityName : "Requirement"]);
-EntityConditionList statusCondition = EntityCondition.makeCondition([
+statusCondition = EntityCondition.makeCondition([
EntityCondition.makeCondition("statusId", EntityOperator.EQUALS, "REQ_CREATED"),
EntityCondition.makeCondition("statusId", EntityOperator.EQUALS, "REQ_PROPOSED")],
EntityOperator.OR);
ecl = null;
if (prepare.entityConditionList) {
- ecl = EntityCondition.makeCondition(prepare.entityConditionList, statusCondition), EntityOperator.AND);
+ ecl = EntityCondition.makeCondition([prepare.entityConditionList, statusCondition], EntityOperator.AND);
} else {
ecl = statusCondition;
}