Skip to content

Commit

Permalink
Merge branch 'master' of github.com:Evolveum/midpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
1azyman committed Apr 13, 2023
2 parents d537ea6 + 1ecbe09 commit 453c559
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ public boolean isParameterSearchVisible() {
}

public List<QName> getSupportedRelations() {
return relationSearchItemWrapper.getRelationsForSearch();
return relationSearchItemWrapper.getSupportedRelations();
}

public QName getRelationValue() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -458,6 +458,9 @@ protected List<AssignmentObjectRelation> getDefaultNewMemberRelations() {
supportedRelation.remove(RelationTypes.OWNER.getRelation());
supportedRelation.remove(RelationTypes.MANAGER.getRelation());
}
if (supportedRelation.isEmpty()) {
return;
}
AssignmentObjectRelation assignmentObjectRelation = new AssignmentObjectRelation();
assignmentObjectRelation.addRelations(supportedRelation);
assignmentObjectRelation.addObjectTypes(Collections.singletonList(objectType));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
<display>
<label>Marked shadows</label>
</display>
<applicableForOperation>modify</applicableForOperation>
<panelType>markedShadowList</panelType>
</panel>
<panel>
Expand Down

0 comments on commit 453c559

Please sign in to comment.