diff --git a/apps/assets/api/domain.py b/apps/assets/api/domain.py index 2e24829dc..721c149b7 100644 --- a/apps/assets/api/domain.py +++ b/apps/assets/api/domain.py @@ -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,)