Skip to content

Commit

Permalink
Revert "Fixed: Corrected operators in atp rule templates (#30)."
Browse files Browse the repository at this point in the history
  • Loading branch information
ravilodhi authored Sep 2, 2024
1 parent ba60bf8 commit d5812ce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drl/ProductFacilityRuleTemplate.drl.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,9 @@
</#if>
<#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)/>
</#if>
</#list>
Expand Down

0 comments on commit d5812ce

Please sign in to comment.