Use MAP_EXPRESSION instead of MAP_WHERE_EXPRESSION

This commit is contained in:
dotasek 2022-05-12 18:05:59 -04:00
parent 3ab828c381
commit d099c7f0f1
1 changed files with 1 additions and 1 deletions

View File

@ -1682,7 +1682,7 @@ public class StructureMapUtilities {
ExpressionNode expr = (ExpressionNode) tgt.getUserData(MAP_EXPRESSION);
if (expr == null) {
expr = fpe.parse(getParamStringNoNull(vars, tgt.getParameter().get(1), tgt.toString()));
tgt.setUserData(MAP_WHERE_EXPRESSION, expr);
tgt.setUserData(MAP_EXPRESSION, expr);
}
List<Base> v = fpe.evaluate(vars, null, null, tgt.getParameter().size() == 2 ? getParam(vars, tgt.getParameter().get(0)) : new BooleanType(false), expr);
if (v.size() == 0)