From 7f2aaf3f86a5487663f3cef4456e066242acb36a Mon Sep 17 00:00:00 2001 From: caoqianming Date: Tue, 25 Mar 2025 14:19:29 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20process=E6=B7=BB=E5=8A=A0=E6=9F=A5?= =?UTF-8?q?=E8=AF=A2=E6=9D=A1=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/mtm/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/mtm/views.py b/apps/mtm/views.py index 19019251..abafd5c2 100644 --- a/apps/mtm/views.py +++ b/apps/mtm/views.py @@ -192,7 +192,7 @@ class ProcessViewSet(CustomModelViewSet): search_fields = ['name', 'cate'] filterset_fields = { "cate": ['exact'], - "parent": ['isnull'] + "parent": ['isnull', "exact"] } ordering = ['sort', 'create_time']