diff --git a/web/src/routes/(user)/search/+page.svelte b/web/src/routes/(user)/search/+page.svelte index f914011dc2..a9e8054e02 100644 --- a/web/src/routes/(user)/search/+page.svelte +++ b/web/src/routes/(user)/search/+page.svelte @@ -128,10 +128,10 @@ responses = payload && 'query' in payload ? await searchSmart({ - smartSearchDto: { ...payload, page: Number.parseInt(currentPage), withExif: true }, + smartSearchDto: { ...payload, page: Number.parseInt(currentPage), withExif: true, isVisible: true }, }) : await searchMetadata({ - metadataSearchDto: { ...payload, page: Number.parseInt(currentPage), withExif: true }, + metadataSearchDto: { ...payload, page: Number.parseInt(currentPage), withExif: true, isVisible: true }, }); if (searchResultAssets) { diff --git a/web/src/routes/(user)/search/+page.ts b/web/src/routes/(user)/search/+page.ts index b2997e70b0..f17fa91e95 100644 --- a/web/src/routes/(user)/search/+page.ts +++ b/web/src/routes/(user)/search/+page.ts @@ -22,8 +22,8 @@ export const load = (async (data) => { results = payload && 'query' in payload - ? await searchSmart({ smartSearchDto: { ...payload, withExif: true } }) - : await searchMetadata({ metadataSearchDto: { ...payload, withExif: true } }); + ? await searchSmart({ smartSearchDto: { ...payload, withExif: true, isVisible: true } }) + : await searchMetadata({ metadataSearchDto: { ...payload, withExif: true, isVisible: true } }); } return {