diff --git a/apps/assets/api/asset.py b/apps/assets/api/asset.py index 2d22dd41b..bdf5b8d89 100644 --- a/apps/assets/api/asset.py +++ b/apps/assets/api/asset.py @@ -85,7 +85,7 @@ class AssetViewSet(LabelFilter, OrgBulkModelViewSet): queryset = queryset.filter( nodes__key__regex='^{}(:[0-9]+)*$'.format(node.key), ) - return queryset + return queryset.distinct() def filter_admin_user_id(self, queryset): admin_user_id = self.request.query_params.get('admin_user_id')