Skip to content

Commit

Permalink
[#3385] document include_dataset_count param for group/org list
Browse files Browse the repository at this point in the history
  • Loading branch information
wardi committed Jan 3, 2017
1 parent 01e44e7 commit 17f6ba0
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions ckan/logic/action/get.py
Expand Up @@ -454,6 +454,9 @@ def group_list(context, data_dict):
packages in the `package_count` property.
(optional, default: ``False``)
:type all_fields: boolean
:param include_dataset_count: if all_fields, include the full package_count
(optional, default: ``True``)
:type include_dataset_count: boolean
:param include_extras: if all_fields, include the group extra fields
(optional, default: ``False``)
:type include_extras: boolean
Expand All @@ -467,9 +470,7 @@ def group_list(context, data_dict):
(optional, default: ``False``).
:type include_users: boolean
:rtype: list of strings
'''
_check_access('group_list', context, data_dict)
return _group_or_org_list(context, data_dict)
Expand Down Expand Up @@ -503,6 +504,9 @@ def organization_list(context, data_dict):
packages in the `package_count` property.
(optional, default: ``False``)
:type all_fields: boolean
:param include_dataset_count: if all_fields, include the full package_count
(optional, default: ``True``)
:type include_dataset_count: boolean
:param include_extras: if all_fields, include the organization extra fields
(optional, default: ``False``)
:type include_extras: boolean
Expand Down

0 comments on commit 17f6ba0

Please sign in to comment.