mirror of
https://github.com/immich-app/immich.git
synced 2024-12-29 15:11:58 +00:00
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:
parent
529a83cc72
commit
870d517ce3
2 changed files with 4 additions and 4 deletions
|
@ -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) {
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue