From f2a844c3b5606e39257f64f86ce37e0e3ed20626 Mon Sep 17 00:00:00 2001 From: Sam Rose Date: Wed, 23 Oct 2024 15:24:32 +0100 Subject: [PATCH] Fix test. --- packages/shared-core/src/filters.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/shared-core/src/filters.ts b/packages/shared-core/src/filters.ts index e0703321e8..e6cab22911 100644 --- a/packages/shared-core/src/filters.ts +++ b/packages/shared-core/src/filters.ts @@ -467,7 +467,7 @@ export function buildQuery( } if (Array.isArray(filter)) { - filter = processSearchFilters(filter) + filter = processSearchFilters(filter) ?? [] } const operator = logicalOperatorFromUI(