diff --git a/framework/webslinger/modules/ofbiz/www/WEB-INF/Events/System/Ofbiz/FilterOfbizConditionData.groovy b/framework/webslinger/modules/ofbiz/www/WEB-INF/Events/System/Ofbiz/FilterOfbizConditionData.groovy index 998772fee0..79293f254f 100644 --- a/framework/webslinger/modules/ofbiz/www/WEB-INF/Events/System/Ofbiz/FilterOfbizConditionData.groovy +++ b/framework/webslinger/modules/ofbiz/www/WEB-INF/Events/System/Ofbiz/FilterOfbizConditionData.groovy @@ -33,7 +33,7 @@ buildCondition = { item -> for (conditionDef in item.list) { conditions.add(buildCondition(conditionDef)) } - return new EntityConditionList(conditions, EntityOperator.lookup(item.operator)) + return EntityCondition.makeCondition(conditions, EntityOperator.lookup(item.operator)) case "EntityExpr": return new EntityExpr(getValue(item.left), EntityOperator.lookup(item.operator), getValue(item.right)) case "Include":