From 13f944b6d6d14efe10f93fec209af0f9c103a58f Mon Sep 17 00:00:00 2001 From: DonHaul Date: Mon, 12 Aug 2024 16:01:59 +0200 Subject: [PATCH] author submissions: added status by workflow-type * ref: cern-sis/issues-inspire/issues/529 --- backoffice/backoffice/workflows/api/views.py | 1 + 1 file changed, 1 insertion(+) diff --git a/backoffice/backoffice/workflows/api/views.py b/backoffice/backoffice/workflows/api/views.py index 77e0b27f..c3d81806 100644 --- a/backoffice/backoffice/workflows/api/views.py +++ b/backoffice/backoffice/workflows/api/views.py @@ -291,6 +291,7 @@ def __init__(self, *args, **kwargs): "order": { "_key": "asc", }, + "aggs": {"status": {"terms": {"field": "status"}}}, }, "enabled": True, },