From ac56d5b8aee0e8bccee61fa7e482b6a0b9999965 Mon Sep 17 00:00:00 2001 From: DonHaul Date: Tue, 13 Aug 2024 09:31:24 +0200 Subject: [PATCH] filter fix * ref: cern-sis/issues-inspire/issues/529 --- backoffice/backoffice/workflows/api/views.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backoffice/backoffice/workflows/api/views.py b/backoffice/backoffice/workflows/api/views.py index c3d81806..3772df0d 100644 --- a/backoffice/backoffice/workflows/api/views.py +++ b/backoffice/backoffice/workflows/api/views.py @@ -263,8 +263,8 @@ def __init__(self, *args, **kwargs): } filter_fields = { - "status": "status.keyword", - "workflow_type": "workflow_type.keyword", + "status": "status", + "workflow_type": "workflow_type", } ordering_fields = {"_updated_at": "_updated_at"}