mirror of
https://github.com/jumpserver/jumpserver.git
synced 2026-05-04 02:03:31 +00:00
[Bugfix] 修复网域网关列表的bug
This commit is contained in:
@@ -39,7 +39,7 @@ class DomainViewSet(BulkModelViewSet):
|
||||
|
||||
|
||||
class GatewayViewSet(BulkModelViewSet):
|
||||
filter_fields = ("domain__name", "name", "username", "ip")
|
||||
filter_fields = ("domain__name", "name", "username", "ip", "domain")
|
||||
search_fields = filter_fields
|
||||
queryset = Gateway.objects.all()
|
||||
permission_classes = (IsOrgAdmin,)
|
||||
|
||||
Reference in New Issue
Block a user