Skip to content

Commit

Permalink
[#2939] make sure organizations are not getting indexed within org
Browse files Browse the repository at this point in the history
  • Loading branch information
kindly committed Nov 16, 2012
1 parent 1208e16 commit 14d5f4c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ckan/lib/dictization/model_save.py
Expand Up @@ -228,6 +228,8 @@ def package_membership_list_save(group_dicts, package, context):
id = group_dict.get("id")
name = group_dict.get("name")
capacity = group_dict.get("capacity", "public")
if capacity == 'organization':
continue
if id:
group = session.query(model.Group).get(id)
else:
Expand Down

0 comments on commit 14d5f4c

Please sign in to comment.