diff --git a/apps/wpm/filters.py b/apps/wpm/filters.py index 5806e838..b1818d93 100644 --- a/apps/wpm/filters.py +++ b/apps/wpm/filters.py @@ -35,6 +35,7 @@ class WMaterialFilter(filters.FilterSet): model = WMaterial fields = { "material": ["exact", "in"], + "material__type": ["exact", "in"], "material__process": ["exact", "in"], "belong_dept": ["exact"], "belong_dept__name": ["exact"],