You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by le...@apache.org on 2008/07/19 00:51:01 UTC

svn commit: r678069 - /ofbiz/trunk/applications/order/webapp/ordermgr/WEB-INF/actions/requirement/SelectCreatedProposed.groovy

Author: lektran
Date: Fri Jul 18 15:51:00 2008
New Revision: 678069

URL: http://svn.apache.org/viewvc?rev=678069&view=rev
Log:
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;
 }