Skip to content

Commit

Permalink
itempath wrapper search fixed (null values were added as changeditemp…
Browse files Browse the repository at this point in the history
…ath filter, resulting in ba filter)
  • Loading branch information
1azyman committed Mar 13, 2023
1 parent b6f2e98 commit 06878ac
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ public DisplayableValue<ItemPathType> getDefaultValue() {
@Override
public ObjectFilter createFilter(Class type, PageBase pageBase, VariablesMap variables) {
ItemPathType itemPath = getValue().getValue();
if (itemPath == null) {
return null;
}
return PrismContext.get().queryFor(type)
.item(getPath()).eq(itemPath).buildFilter();
}
Expand Down

0 comments on commit 06878ac

Please sign in to comment.