From b297ebe973aeeb0843b23e0751b46a0be0c7dc3b Mon Sep 17 00:00:00 2001 From: "Jiangjie.Bai" Date: Thu, 17 Mar 2022 15:26:38 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=94=B9=E5=BA=94=E7=94=A8cate?= =?UTF-8?q?gory?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/applications/api/application.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/applications/api/application.py b/apps/applications/api/application.py index 435ccccad..9d1b130ce 100644 --- a/apps/applications/api/application.py +++ b/apps/applications/api/application.py @@ -17,7 +17,7 @@ class ApplicationViewSet(SuggestionMixin, OrgBulkModelViewSet): model = Application filterset_fields = { 'name': ['exact'], - 'category': ['exact'], + 'category': ['exact', 'in'], 'type': ['exact', 'in'], } search_fields = ('name', 'type', 'category')