fix: 修改应用category

pull/7908/head
Jiangjie.Bai 2022-03-17 15:26:38 +08:00 committed by Jiangjie.Bai
parent 5c7bfcff1c
commit b297ebe973
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ class ApplicationViewSet(SuggestionMixin, OrgBulkModelViewSet):
model = Application model = Application
filterset_fields = { filterset_fields = {
'name': ['exact'], 'name': ['exact'],
'category': ['exact'], 'category': ['exact', 'in'],
'type': ['exact', 'in'], 'type': ['exact', 'in'],
} }
search_fields = ('name', 'type', 'category') search_fields = ('name', 'type', 'category')