mirror of
https://github.com/samsonjs/immich.git
synced 2026-03-31 10:15:54 +00:00
fix: live photo hiding (#17548)
This commit is contained in:
parent
3bec8dc337
commit
5548eb0dad
1 changed files with 1 additions and 1 deletions
|
|
@ -646,7 +646,7 @@ export class AssetRepository {
|
|||
const { ownerId, otherAssetId, livePhotoCID, type } = options;
|
||||
return this.db
|
||||
.selectFrom('assets')
|
||||
.select('assets.id')
|
||||
.select(['assets.id', 'assets.ownerId'])
|
||||
.innerJoin('exif', 'assets.id', 'exif.assetId')
|
||||
.where('id', '!=', asUuid(otherAssetId))
|
||||
.where('ownerId', '=', asUuid(ownerId))
|
||||
|
|
|
|||
Loading…
Reference in a new issue