From 3278dcbcbeda98212fd086c33babd691dcdd27b1 Mon Sep 17 00:00:00 2001 From: Alex Date: Thu, 7 Mar 2024 10:16:47 -0600 Subject: [PATCH] fix(web): save filename search in search filter box (#7704) --- .../shared-components/search-bar/search-filter-box.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/lib/components/shared-components/search-bar/search-filter-box.svelte b/web/src/lib/components/shared-components/search-bar/search-filter-box.svelte index b921f2bfd7..071cd08110 100644 --- a/web/src/lib/components/shared-components/search-bar/search-filter-box.svelte +++ b/web/src/lib/components/shared-components/search-bar/search-filter-box.svelte @@ -43,7 +43,7 @@ let filter: SearchFilter = { context: 'query' in searchQuery ? searchQuery.query : '', - filename: 'originalPath' in searchQuery ? searchQuery.originalPath : undefined, + filename: 'originalFileName' in searchQuery ? searchQuery.originalFileName : undefined, personIds: new Set('personIds' in searchQuery ? searchQuery.personIds : []), location: { country: searchQuery.country,