Here's a pull request for #2843: https://github.com/okfn/ckan/pull/95 Ross, can you review this and merge into release-v1.8? The commit should be cherry-picked into master as well