diff --git a/packages/shared-core/src/filters.ts b/packages/shared-core/src/filters.ts index d4d5918bbb..8298f7929a 100644 --- a/packages/shared-core/src/filters.ts +++ b/packages/shared-core/src/filters.ts @@ -348,7 +348,7 @@ export function fixupFilterArrays(filters: SearchFilters) { if (typeof field[key] !== "string") { field[key] = [field[key]] } else { - field[key] = field[key].split(",").map(x => x.trim()) + field[key] = field[key].split(",").map((x: string) => x.trim()) } } }