diff --git a/apps/assets/api/domain.py b/apps/assets/api/domain.py index e6f6c0550..421e69544 100644 --- a/apps/assets/api/domain.py +++ b/apps/assets/api/domain.py @@ -16,6 +16,8 @@ __all__ = ['DomainViewSet', 'GatewayViewSet', "GatewayTestConnectionApi"] class DomainViewSet(OrgBulkModelViewSet): model = Domain + filter_fields = ("name", ) + search_fields = filter_fields permission_classes = (IsOrgAdminOrAppUser,) serializer_class = serializers.DomainSerializer