From d5812ce6ce2acdb24dc429092bdbcfc57a860a46 Mon Sep 17 00:00:00 2001 From: Ravi Lodhi <40700208+ravilodhi@users.noreply.github.com> Date: Mon, 2 Sep 2024 18:36:26 +0530 Subject: [PATCH] Revert "Fixed: Corrected operators in atp rule templates (#30)." --- drl/ProductFacilityRuleTemplate.drl.ftl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drl/ProductFacilityRuleTemplate.drl.ftl b/drl/ProductFacilityRuleTemplate.drl.ftl index 334fe7b..978cecd 100644 --- a/drl/ProductFacilityRuleTemplate.drl.ftl +++ b/drl/ProductFacilityRuleTemplate.drl.ftl @@ -55,9 +55,9 @@ <#if !facilityIds?has_content> <#list facilityGroupConditions as facilityGroupCondition> - <#if "contains" == facilityGroupCondition.operator> + <#if "in" == facilityGroupCondition.operator> <#assign includedFacilityGroupIds = includedFacilityGroupIds + Static["co.hotwax.common.DecisionRuleHelper"].valueToCollection(facilityGroupCondition.fieldValue)/> - <#elseif "not-contains" == facilityGroupCondition.operator> + <#elseif "not-in" == facilityGroupCondition.operator> <#assign excludedFacilityGroupIds = excludedFacilityGroupIds + Static["co.hotwax.common.DecisionRuleHelper"].valueToCollection(facilityGroupCondition.fieldValue)/>