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"]