Skip to content

Commit

Permalink
sqale: RefFilter with isOidNullAsAny is any filter even without value
Browse files Browse the repository at this point in the history
  • Loading branch information
tonydamage committed Aug 23, 2021
1 parent 35ea473 commit 05f56b9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ <Q extends FlexibleRelationalPathBase<R>, R> RefItemFilterProcessor(
public Predicate process(RefFilter filter) {
List<PrismReferenceValue> values = filter.getValues();
if (values == null || values.isEmpty()) {
return oidPath.isNull();
return filter.isOidNullAsAny() ? null : oidPath.isNull();
}
if (values.size() == 1) {
return processSingleValue(filter, values.get(0));
Expand Down

0 comments on commit 05f56b9

Please sign in to comment.