Skip to content

Commit

Permalink
[#3385] organization_list_for_user: remove package_count
Browse files Browse the repository at this point in the history
  • Loading branch information
wardi committed Jan 3, 2017
1 parent 01f564e commit 01e44e7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ckan/logic/action/get.py
Expand Up @@ -692,7 +692,8 @@ def organization_list_for_user(context, data_dict):
(org, group_ids_to_capacities[org.id]) for org in orgs_q.all()]

context['with_capacity'] = True
orgs_list = model_dictize.group_list_dictize(orgs_and_capacities, context)
orgs_list = model_dictize.group_list_dictize(orgs_and_capacities, context,
with_package_counts=False)
return orgs_list


Expand Down

0 comments on commit 01e44e7

Please sign in to comment.