Changes between Initial Version and Version 1 of Ticket #1724
- Timestamp:
- 01/31/12 10:57:56 (2 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #1724
- Property Summary changed from Update tag_list() logic action function for taxonomies to Update logic action functions
-
Ticket #1724 – Description
initial v1 1 Currently ckan/logic/action/get.py has a tag_list() function that (I think) just returns all tags in the CKAN instance that the user has access to. 1 {{{ckan/logic/action/get.py:tag_list()}}} 2 Currently (I think) just returns all tags in the CKAN instance that the user has access to. 3 Needs an optional argument to get only tags from a particular vocabulary? 4 When called with no argument, should only return free tags? 5 Also add an optional dataset argument, so you can get tags for a given dataset and/or vocabulary? 2 6 3 An option should be added to this to get only tags for a particular vocabulary. Also when the function is called without the option, perhaps it should only return the free tags that don't belong to any vocabulary. 7 {{{ckan/logic/action/get.py:tag_autocomplete()}}} 8 Add optional argument to get only tags for a given vocab? When called with no argument, should get only free tags? 4 9 5 Might also want a logic function to get tags for a given dataset and vocabulary? 10 {{{ckan/logic/action/get.py:tag_search()}}} 11 Again, optional arguments for restricting by vocabulary and/or dataset.