From 4b83d6b00b43d3a36133140b73f329b5a8927978 Mon Sep 17 00:00:00 2001 From: Adria Navarro Date: Wed, 2 Oct 2024 13:07:33 +0200 Subject: [PATCH] Fix tests --- packages/server/src/sdk/app/rows/search.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/server/src/sdk/app/rows/search.ts b/packages/server/src/sdk/app/rows/search.ts index 8de5818805..2e6c14afdb 100644 --- a/packages/server/src/sdk/app/rows/search.ts +++ b/packages/server/src/sdk/app/rows/search.ts @@ -93,6 +93,8 @@ export async function search( // Lucene does not accept conditional filters, so we need to keep the old logic const query: SearchFilters = viewQuery + delete options.query.onEmptyFilter + // Extract existing fields const existingFields = view.query