Skip to content
Snippets Groups Projects
Commit ac048ae1 authored by srosse's avatar srosse
Browse files

OO-4732: reload groups after changing role in course

parent ce152343
No related branches found
No related tags found
No related merge requests found
......@@ -127,12 +127,12 @@ public class GTACoachSelectionController extends BasicController implements Acti
groups = gtaManager.filterBusinessGroups(groups, gtaNode);
groupListCtrl = new GTACoachedGroupListController(ureq, getWindowControl(), null, coachCourseEnv, gtaNode, groups);
listenTo(groupListCtrl);
mainVC.put("list", groupListCtrl.getInitialComponent());
if(groups.size() == 1) {
doSelectBusinessGroup(ureq, groups.get(0));
} else {
groupListCtrl = new GTACoachedGroupListController(ureq, getWindowControl(), null, coachCourseEnv, gtaNode, groups);
listenTo(groupListCtrl);
mainVC.put("list", groupListCtrl.getInitialComponent());
}
} else {
participantListCtrl = new GTACoachedParticipantListController(ureq, getWindowControl(), coachCourseEnv, gtaNode, markedOnly);
......
......@@ -291,6 +291,7 @@ public class CourseRuntimeController extends RepositoryEntryRuntimeController im
RunMainController runMainController = getRunMainController();
if(runMainController != null) {
runMainController.reloadGroupMemberships(reSecurity);
runMainController.updateCurrentCourseNode(ureq);
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment