Ticket #1724 (closed enhancement: fixed)
Update logic action functions for vocabularies
Reported by: | seanh | Owned by: | seanh |
---|---|---|---|
Priority: | awaiting triage | Milestone: | ckan-sprint-2012-02-20 |
Component: | ecportal | Keywords: | taxonomies [4d] |
Cc: | Repository: | ckan | |
Theme: | none |
Description (last modified by seanh) (diff)
ckan/logic/action/get.py:tag_list() Currently (I think) just returns all tags in the CKAN instance that the user has access to. Needs an optional argument to get only tags from a particular vocabulary? When called with no argument, should only return free tags? Also add an optional dataset argument, so you can get tags for a given dataset and/or vocabulary?
ckan/logic/action/get.py:tag_autocomplete() Add optional argument to get only tags for a given vocab? When called with no argument, should get only free tags?
ckan/logic/action/get.py:tag_search() Again, optional arguments for restricting by vocabulary and/or dataset.
Change History
comment:1 Changed 2 years ago by seanh
- Description modified (diff)
- Summary changed from Update tag_list() logic action function for taxonomies to Update logic action functions
comment:2 Changed 2 years ago by seanh
- Milestone changed from ckan-v1.6 to current-ckan-sprint-2012-02-20
comment:4 Changed 2 years ago by seanh
- Summary changed from Update logic action functions to Update logic action functions for vocabularies
comment:6 Changed 2 years ago by johnglover
I updated tag_list: https://github.com/okfn/ckan/commit/335535b646adf983d1d19bf19613712099db1f5e