From 8838227919a4cef3a0f815f7efac09ba9b85d24e Mon Sep 17 00:00:00 2001 From: caoqianming Date: Sat, 8 Feb 2025 14:26:21 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20wpr=E5=A2=9E=E5=8A=A0=E6=9F=A5=E8=AF=A2?= =?UTF-8?q?=E6=9D=A1=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/wpmw/views.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/wpmw/views.py b/apps/wpmw/views.py index 37424820..d0df4006 100644 --- a/apps/wpmw/views.py +++ b/apps/wpmw/views.py @@ -21,7 +21,8 @@ class WprViewSet(CustomListModelMixin, RetrieveModelMixin, CustomGenericViewSet) "wm": ["exact", "isnull"], "material__process": ["exact"], "state": ["exact"], - "defects": ["exact"] + "defects": ["exact"], + "number": ["exact"] } ordering = ["-create_time"] ordering_fields = ["number", "create_time", "update_time"]