mirror of https://github.com/jumpserver/jumpserver
fix: 修改应用category
parent
5c7bfcff1c
commit
b297ebe973
|
@ -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')
|
||||||
|
|
Loading…
Reference in New Issue