[ckan-changes] [okfn/ckan] 44f2ae: [#1723] Update tag_search() and tag_autocomplete()...
GitHub
noreply at github.com
Tue Feb 14 12:49:49 UTC 2012
Branch: refs/heads/feature-1698-tag-taxonomies
Home: https://github.com/okfn/ckan
Commit: 44f2aec004122081e651519703c8363943199720
https://github.com/okfn/ckan/commit/44f2aec004122081e651519703c8363943199720
Author: Sean Hammond <seanhammond at lavabit.com>
Date: 2012-02-14 (Tue, 14 Feb 2012)
Changed paths:
M ckan/logic/action/get.py
M ckan/model/tag.py
M ckan/tests/logic/test_action.py
Log Message:
-----------
[#1723] Update tag_search() and tag_autocomplete() for vocabularies.
Update tag_search() logic action function to filter by vocabulary.
Update tag_autocomplete() logic action function to filter by vocabulary.
Removed most of the code from this method as it seemed unnecessary, it just
calls tag_search() after doing its own auth check and then transforms the
result a little and returns it.
test_action.py: Add tests for tag_autocomplete() with vocabs.
Fix a mistake in model.Tag.all(), if no vocab specified return only free tags.
Commit: a08f209a0bcb0ba723d437f62670fb0d5c563b27
https://github.com/okfn/ckan/commit/a08f209a0bcb0ba723d437f62670fb0d5c563b27
Author: Sean Hammond <seanhammond at lavabit.com>
Date: 2012-02-14 (Tue, 14 Feb 2012)
Changed paths:
M ckan/tests/logic/test_action.py
M ckan/tests/logic/test_tag_vocab.py
Log Message:
-----------
Merge branch 'feature-1698-tag-taxonomies' of github.com:okfn/ckan into feature-1698-tag-taxonomies
Compare: https://github.com/okfn/ckan/compare/ed71452...a08f209
More information about the ckan-changes
mailing list