From 86436df0b4218cbebdf49ab9d981b4707c9b9b7d Mon Sep 17 00:00:00 2001 From: yashlamba Date: Fri, 15 Sep 2023 09:44:57 +0200 Subject: [PATCH] metrics: api: remove record is_parent query --- site/zenodo_rdm/metrics/api.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/site/zenodo_rdm/metrics/api.py b/site/zenodo_rdm/metrics/api.py index cc5ba1cb..b8a396b2 100644 --- a/site/zenodo_rdm/metrics/api.py +++ b/site/zenodo_rdm/metrics/api.py @@ -39,10 +39,6 @@ def get_data_transfer(): "range", timestamp=time_range, ) - .filter( - "term", - is_parent=False, - ) .params(request_timeout=120) ) search.aggs.metric("download_volume", "sum", field="volume")