From c2f94e70a5fe80933200adda6820973be170a286 Mon Sep 17 00:00:00 2001
From: srosse <none@none>
Date: Mon, 6 Aug 2012 08:40:18 +0200
Subject: [PATCH] OO-291: update favorit too

---
 .../group/ui/main/OverviewBusinessGroupListController.java  | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/src/main/java/org/olat/group/ui/main/OverviewBusinessGroupListController.java b/src/main/java/org/olat/group/ui/main/OverviewBusinessGroupListController.java
index bb9541b2b87..63caa12f5d4 100644
--- a/src/main/java/org/olat/group/ui/main/OverviewBusinessGroupListController.java
+++ b/src/main/java/org/olat/group/ui/main/OverviewBusinessGroupListController.java
@@ -92,6 +92,11 @@ public class OverviewBusinessGroupListController extends BasicController impleme
 		}
 	}
 	
+	@Override
+	protected void event(UserRequest ureq, Controller source, Event event) {
+		super.event(ureq, source, event);
+	}
+
 	@Override
 	public void activate(UserRequest ureq, List<ContextEntry> entries, StateEntry state) {
 		if(entries == null || entries.isEmpty()) return;
@@ -121,6 +126,7 @@ public class OverviewBusinessGroupListController extends BasicController impleme
 			WindowControl bwControl = BusinessControlFactory.getInstance().createBusinessWindowControl(ores, null, getWindowControl());
 			favoritGroupsCtrl = new FavoritBusinessGroupListController(ureq, bwControl);
 		}
+		favoritGroupsCtrl.updateMarkedGroups();
 		mainVC.put("groupList", favoritGroupsCtrl.getInitialComponent());
 		addToHistory(ureq, favoritGroupsCtrl);
 		return favoritGroupsCtrl;
-- 
GitLab