From 14292843ff53b62392d0a2fb16e2c25f1fc4a56c Mon Sep 17 00:00:00 2001 From: Thomas Darimont Date: Thu, 19 Nov 2015 13:54:18 +0100 Subject: [PATCH] Fix missing group in angular $scope in GroupMembersCtrl. Previously navigating to the group members tab of a group breaks other groups links (RoleMappings, Attributes etc.) because the groupId part of the url is missing. One sees: /auth/admin/master/console/#/realms/master/groups//role-mappings Instead of: /auth/admin/master/console/#/realms/master/groups/0f77aeed-7d16-4938-9fcc-c74b1125e5e0/role-mappings --- .../theme/base/admin/resources/js/controllers/groups.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/forms/common-themes/src/main/resources/theme/base/admin/resources/js/controllers/groups.js b/forms/common-themes/src/main/resources/theme/base/admin/resources/js/controllers/groups.js index 811343beb5..93070ba152 100755 --- a/forms/common-themes/src/main/resources/theme/base/admin/resources/js/controllers/groups.js +++ b/forms/common-themes/src/main/resources/theme/base/admin/resources/js/controllers/groups.js @@ -323,7 +323,7 @@ module.controller('GroupRoleMappingCtrl', function($scope, $http, realm, group, module.controller('GroupMembersCtrl', function($scope, realm, group, GroupMembership) { $scope.realm = realm; $scope.page = 0; - + $scope.group = group; $scope.query = { realm: realm.realm,