[ckan-changes] [okfn/ckan] 968690: Don't dictize each tags packages on tag index page
GitHub
noreply at github.com
Thu May 17 15:27:58 UTC 2012
Branch: refs/heads/master
Home: https://github.com/okfn/ckan
Commit: 968690e5fd3d7bfeff6fa09a7cff09e2ecd98a61
https://github.com/okfn/ckan/commit/968690e5fd3d7bfeff6fa09a7cff09e2ecd98a61
Author: Sean Hammond <seanhammond at lavabit.com>
Date: 2012-05-17 (Thu, 17 May 2012)
Changed paths:
M ckan/controllers/api.py
M ckan/lib/dictization/model_dictize.py
M ckan/logic/action/get.py
M ckan/tests/lib/test_dictization.py
M ckan/tests/logic/test_tag.py
Log Message:
-----------
Don't dictize each tags packages on tag index page
This makes the tag index page load much faster when there are a large
number of tags.
tag_list() logic action function calls tag_list_dicitize() instead of
tag_dictize(), the difference is that tag_list_dicitize() doesn't
dictize all of the tag's packages as well. Extended tag_list_dicitize()
to have some of tag_dictize()'s features that it was missing.
More information about the ckan-changes
mailing list