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 Nov 28, 2022
2 parents fab5da8 + 5854c05 commit baf7b16
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,11 @@ protected String getTilesFooterCssClasses() {
return "pt-3";
}

public IModel getTilesModel() {
PageableListView view = (PageableListView) get(ID_TILES_CONTAINER).get(ID_TILES);
return view.getModel();
}

public ISortableDataProvider<O, String> getProvider() {
PageableListView view = (PageableListView) get(ID_TILES_CONTAINER).get(ID_TILES);
return view.getProvider();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -349,11 +349,7 @@ protected List<? extends ObjectType> getSelectedRealObjects() {
protected void refreshTable(AjaxRequestTarget target) {
target.add(getMemberTileTable());
getMemberTileTable().getProvider().detach();
getMemberTileTable().getTilesModel().detach();
getMemberTileTable().refresh(target);
}

@Override
protected void unassignMembersPerformed(IModel<?> rowModel, QName type, QueryScope scope, Collection<QName> relations, AjaxRequestTarget target) {
super.unassignMembersPerformed(rowModel, type, scope, relations, target);
}
}

0 comments on commit baf7b16

Please sign in to comment.