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 60ae985 commit 3844acd
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,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 3844acd

Please sign in to comment.