diff --git a/ckan/controllers/group.py b/ckan/controllers/group.py index b08cb22daeb..170565da371 100644 --- a/ckan/controllers/group.py +++ b/ckan/controllers/group.py @@ -131,6 +131,10 @@ def read(self, id): context['return_query'] = True + # c.group_admins is used by CKAN's legacy (Genshi) templates only, + # if we drop support for those then we can delete this line. + c.group_admins = self.authorizer.get_admins(c.group) + limit = 20 try: page = int(request.params.get('page', 1))