diff --git a/apps/mtm/filters.py b/apps/mtm/filters.py index 39b9749a..ba876bd5 100644 --- a/apps/mtm/filters.py +++ b/apps/mtm/filters.py @@ -18,7 +18,9 @@ class MaterialFilter(filters.FilterSet): "process": ["exact", "in", "isnull"], "orderitem_material__order": ['exact'], "pu_orderitem_material__pu_order": ["exact"], - "route_material_out__mgroup": ["exact"] + "route_material_out__mgroup": ["exact"], + "count": ["gte", "lte", "exact", "gt", "lt"], + "count_safe": ["gte", "lte", "exact", "gt", "lt"] } def filter_tag(self, queryset, name, value):