Skip to content

Commit

Permalink
sqale: Search shadowOwner with any relationship
Browse files Browse the repository at this point in the history
- Shadow owners should be searched with any relationship
  • Loading branch information
tonydamage committed Sep 29, 2021
1 parent dd42448 commit 5f4d8dc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1327,7 +1327,7 @@ public <F extends FocusType> PrismObject<F> searchShadowOwner(String shadowOid,
try {
ObjectQuery query = prismContext()
.queryFor(FocusType.class)
.item(FocusType.F_LINK_REF).ref(shadowOid)
.item(FocusType.F_LINK_REF).ref(shadowOid, null, PrismConstants.Q_ANY)
.build();
SearchResultList<PrismObject<FocusType>> result =
executeSearchObjects(FocusType.class, query, options, OP_SEARCH_SHADOW_OWNER);
Expand Down

0 comments on commit 5f4d8dc

Please sign in to comment.