Use MAP_EXPRESSION instead of MAP_WHERE_EXPRESSION
This commit is contained in:
parent
3ab828c381
commit
d099c7f0f1
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue