[Bugfix] 修复网域网关列表的bug

pull/2135/head
ibuler 6 years ago
parent 6acda27d67
commit 4cdddaa493

@ -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,)

Loading…
Cancel
Save