Author: jleroux
Date: Mon May 21 08:47:43 2007
New Revision: 540177
URL:
http://svn.apache.org/viewvc?view=rev&rev=540177Log:
From trunk 540176
Modified:
ofbiz/branches/release4.0/applications/order/src/org/ofbiz/order/order/OrderListState.java
Modified: ofbiz/branches/release4.0/applications/order/src/org/ofbiz/order/order/OrderListState.java
URL:
http://svn.apache.org/viewvc/ofbiz/branches/release4.0/applications/order/src/org/ofbiz/order/order/OrderListState.java?view=diff&rev=540177&r1=540176&r2=540177==============================================================================
--- ofbiz/branches/release4.0/applications/order/src/org/ofbiz/order/order/OrderListState.java (original)
+++ ofbiz/branches/release4.0/applications/order/src/org/ofbiz/order/order/OrderListState.java Mon May 21 08:47:43 2007
@@ -227,11 +227,9 @@
if (!hasType(type)) continue;
typeConditions.add( new EntityExpr("orderTypeId", EntityOperator.EQUALS, parameterToOrderTypeId.get(type)) );
}
- List filterConditions = new ArrayList();
EntityCondition statusConditionsList = new EntityConditionList(statusConditions, EntityOperator.OR);
EntityCondition typeConditionsList = new EntityConditionList(typeConditions, EntityOperator.OR);
- EntityCondition filterConditionsList = new EntityConditionList(filterConditions, EntityOperator.OR);
if ((typeConditions.size() > 0) && (statusConditions.size() > 0)) {
allConditions.add(statusConditionsList);
allConditions.add(typeConditionsList);