From 732303661befda839bb812389dbc4d0d5cd8756e Mon Sep 17 00:00:00 2001 From: Michel Heusschen <59014050+michelheusschen@users.noreply.github.com> Date: Thu, 5 Feb 2026 11:52:35 +0100 Subject: [PATCH] fix: allow null tagIds in search dto (#25920) --- server/src/dtos/search.dto.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/dtos/search.dto.ts b/server/src/dtos/search.dto.ts index 59fddcc71c..47a1889e47 100644 --- a/server/src/dtos/search.dto.ts +++ b/server/src/dtos/search.dto.ts @@ -97,7 +97,7 @@ class BaseSearchDto { @ValidateUUID({ each: true, optional: true, description: 'Filter by person IDs' }) personIds?: string[]; - @ValidateUUID({ each: true, optional: true, description: 'Filter by tag IDs' }) + @ValidateUUID({ each: true, optional: true, nullable: true, description: 'Filter by tag IDs' }) tagIds?: string[] | null; @ValidateUUID({ each: true, optional: true, description: 'Filter by album IDs' })