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, },