Ticket #1724 (new enhancement) — at Initial Version

Opened 2 years ago

Last modified 2 years ago

Update tag_list() logic action function for taxonomies

Reported by: seanh Owned by:
Priority: awaiting triage Milestone: ckan-sprint-2012-02-20
Component: ecportal Keywords: taxonomies [4d]
Cc: Repository: ckan
Theme: none

Description

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.

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.

Might also want a logic function to get tags for a given dataset and vocabulary?

Note: See TracTickets for help on using tickets.