diff --git a/apps/wpm/filters.py b/apps/wpm/filters.py index b1818d93..91a59c68 100644 --- a/apps/wpm/filters.py +++ b/apps/wpm/filters.py @@ -38,7 +38,7 @@ class WMaterialFilter(filters.FilterSet): "material__type": ["exact", "in"], "material__process": ["exact", "in"], "belong_dept": ["exact"], - "belong_dept__name": ["exact"], + "belong_dept__name": ["exact", "in"], "batch": ["exact"], "count": ["gte", "lte", "exact"] }