Changes between Initial Version and Version 1 of Ticket #1724


Ignore:
Timestamp:
01/31/12 10:57:56 (2 years ago)
Author:
seanh
Comment:

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()}}} 
     2Currently (I think) just returns all tags in the CKAN instance that the user has access to. 
     3Needs an optional argument to get only tags from a particular vocabulary? 
     4When called with no argument, should only return free tags? 
     5Also add an optional dataset argument, so you can get tags for a given dataset and/or vocabulary? 
    26 
    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()}}} 
     8Add optional argument to get only tags for a given vocab? When called with no argument, should get only free tags? 
    49 
    5 Might also want a logic function to get tags for a given dataset and vocabulary? 
     10{{{ckan/logic/action/get.py:tag_search()}}} 
     11Again, optional arguments for restricting by vocabulary and/or dataset.