diff --git a/apps/system/filters.py b/apps/system/filters.py index 0013a133..412c3e75 100755 --- a/apps/system/filters.py +++ b/apps/system/filters.py @@ -24,5 +24,6 @@ class DeptFilterSet(filters.FilterSet): class Meta: model = Dept fields = { - 'type': ['exact', 'in'] + 'type': ['exact', 'in'], + 'name': ['exact', 'in'] }