Custom Query (2152 matches)
Results (1786 - 1788 of 2152)
Ticket | Resolution | Summary | Owner | Reporter |
---|---|---|---|---|
#1724 | fixed | Update logic action functions for vocabularies | seanh | seanh |
Description |
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. |
|||
#1729 | duplicate | Helper function for extensions to add vocabularies to a ckan instance | johnglover | seanh |
Description |
Add a helper function to make it easy for extensions to add new vocabularies to default_package_schema(). The helper function should take the name or ID of a vocabulary (which should already exist in the db) and add the necessary key: [schema] entry to default_package_schema(), with the necessary validation, authorisation, transformation. |
|||
#1730 | fixed | Form field for vocabularies | johnglover | seanh |
Description |
A function that takes a vocabulary name or ID as argument and returns a nice select box for selecting items from that given vocabulary. Meant to be used by form templates, to make it easy for them to integrate custom vocabularies. Could use http://harvesthq.github.com/chosen/ |