High performance self-hosted photo and video management solution.
TypeScript backup-toolfluttergoogle-photosgoogle-photos-alternativejavascriptmobile-appnestjsnodejsphoto-galleryphotosphotos-managementself-hostedsveltesveltekittypescriptvideos
fix(web): don't show motion part in search result (#7210)
Alex870d517ce3ea
diff --git a/web/src/routes/(user)/search/+page.svelte b/web/src/routes/(user)/search/+page.svelteindex 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.tsindex 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 {