Skip to content

Commit

Permalink
Fix CONTAINS operator on list of maps
Browse files Browse the repository at this point in the history
Resolves: #8654
  • Loading branch information
luigidellaquila committed Nov 12, 2018
1 parent ba536a1 commit b756950
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,9 @@ public boolean evaluate(OResult currentRecord, OCommandContext ctx) {
} else if (item instanceof Map) {
OResultInternal res = new OResultInternal();
((Map<String, Object>) item).entrySet().forEach(x -> res.setProperty(x.getKey(), x.getValue()));
return condition.evaluate(res, ctx);
if (condition.evaluate(res, ctx)) {
return true;
}
}
}
return false;
Expand Down

0 comments on commit b756950

Please sign in to comment.