From c58e34a7fd734e03e90a638c27ec1ad23bff0e25 Mon Sep 17 00:00:00 2001 From: caoqianming Date: Fri, 2 Aug 2024 21:00:13 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20route=E6=B7=BB=E5=8A=A0filter?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/mtm/filters.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/mtm/filters.py b/apps/mtm/filters.py index 1fbb636e..c36c4568 100644 --- a/apps/mtm/filters.py +++ b/apps/mtm/filters.py @@ -51,7 +51,7 @@ class RouteFilter(filters.FilterSet): "material_out": ["exact", "in"], "process": ["exact", "in"], "is_autotask": ["exact"], - "routepack": ["exact"], + "routepack": ["exact", "isnull"], "routepack__state": ["exact"], "mgroup": ["exact", "in", "isnull"], "mgroup__name": ["exact", "contains"],