diff --git a/ckanext/search_tweaks/query_popularity/logic/action.py b/ckanext/search_tweaks/query_popularity/logic/action.py index 026f076..814b742 100644 --- a/ckanext/search_tweaks/query_popularity/logic/action.py +++ b/ckanext/search_tweaks/query_popularity/logic/action.py @@ -29,7 +29,7 @@ def search_tweaks_query_popularity_export( score = Score() results = score.export() - return {"results": results, "count": len(results)} + return {"snapshot": results} @validate(schema.query_popularity_import) diff --git a/setup.cfg b/setup.cfg index c53fa39..4042377 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,6 +1,6 @@ [metadata] name = ckanext-search-tweaks -version = 0.6.1a1 +version = 0.6.1a2 description = long_description = file: README.md long_description_content_type = text/markdown