From 4a0b10a0fbed135a13b207222726e6a9f791cacb Mon Sep 17 00:00:00 2001 From: Ash Date: Mon, 8 Apr 2024 10:49:53 +0100 Subject: [PATCH] fix(structure): prevent duplication of search filters when `listenSearchQuery` is used (e.g. in document lists) --- .../sanity/src/structure/panes/documentList/listenSearchQuery.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/sanity/src/structure/panes/documentList/listenSearchQuery.ts b/packages/sanity/src/structure/panes/documentList/listenSearchQuery.ts index 2ba93cdb9bd..6d24eb6bd7c 100644 --- a/packages/sanity/src/structure/panes/documentList/listenSearchQuery.ts +++ b/packages/sanity/src/structure/panes/documentList/listenSearchQuery.ts @@ -117,7 +117,6 @@ export function listenSearchQuery(options: ListenQueryOptions): Observable { const searchTerms = { - filter, query: searchQuery || '', types, }