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,