fix(web): don't show motion part in search result (#7210)

fix: don't show motion part in search result
This commit is contained in:
Alex
2024-02-19 14:56:02 -06:00
committed by GitHub
parent 529a83cc72
commit 870d517ce3
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -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) {