Skip to content

Commit

Permalink
[#2939] Only show members not orgs in org member list
Browse files Browse the repository at this point in the history
  • Loading branch information
tobes committed Nov 28, 2012
1 parent e21dac1 commit 07b4fa5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ckan/controllers/group.py
Expand Up @@ -467,7 +467,8 @@ def members(self, id):
'user': c.user or c.author}

try:
c.members = self._action('member_list')(context, {'id': id})
c.members = self._action('member_list')(context, {'id': id,
'object_type': 'user'})
c.group_dict = self._action('group_show')(context, {'id': id})
except NotAuthorized:
abort(401, _('Unauthorized to delete group %s') % '')
Expand Down

0 comments on commit 07b4fa5

Please sign in to comment.