aboutsummaryrefslogtreecommitdiffstats
path: root/python/fatcat_web/search.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/fatcat_web/search.py')
-rw-r--r--python/fatcat_web/search.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/python/fatcat_web/search.py b/python/fatcat_web/search.py
index 709163ec..5b7bdbf6 100644
--- a/python/fatcat_web/search.py
+++ b/python/fatcat_web/search.py
@@ -208,6 +208,7 @@ def get_elastic_container_stats(ident, issnl=None):
issnl (optional)
total
in_web
+ in_kbart
preserved
"""
@@ -236,6 +237,7 @@ def get_elastic_container_stats(ident, issnl=None):
'issnl': issnl,
'total': resp['hits']['total'],
'in_web': buckets['in_web']['doc_count'],
+ 'in_kbart': buckets['in_kbart']['doc_count'],
'is_preserved': buckets['is_preserved']['doc_count'],
}