mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-06-27 15:27:11 +00:00
fix: 修改应用category
This commit is contained in:
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
Block a user