Commit 4cdddaa4 authored by ibuler's avatar ibuler

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

parent 6acda27d
...@@ -39,7 +39,7 @@ class DomainViewSet(BulkModelViewSet): ...@@ -39,7 +39,7 @@ class DomainViewSet(BulkModelViewSet):
class GatewayViewSet(BulkModelViewSet): class GatewayViewSet(BulkModelViewSet):
filter_fields = ("domain__name", "name", "username", "ip") filter_fields = ("domain__name", "name", "username", "ip", "domain")
search_fields = filter_fields search_fields = filter_fields
queryset = Gateway.objects.all() queryset = Gateway.objects.all()
permission_classes = (IsOrgAdmin,) permission_classes = (IsOrgAdmin,)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment