Browse Source

fix: 修改应用category

pull/7908/head
Jiangjie.Bai 3 years ago committed by Jiangjie.Bai
parent
commit
b297ebe973
  1. 2
      apps/applications/api/application.py

2
apps/applications/api/application.py

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

Loading…
Cancel
Save