Skip to content

Commit

Permalink
We dont need the total when just getting the field names
Browse files Browse the repository at this point in the history
  • Loading branch information
David Read authored and smotornyuk committed Jun 16, 2019
1 parent 9be672b commit 587c606
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ckan/lib/helpers.py
Expand Up @@ -2058,7 +2058,8 @@ def resource_view_get_fields(resource):

data = {
'resource_id': resource['id'],
'limit': 0
'limit': 0,
'include_total': False,
}
result = logic.get_action('datastore_search')({}, data)

Expand Down

0 comments on commit 587c606

Please sign in to comment.