1
0
mirror of https://github.com/immich-app/immich.git synced 2025-12-08 01:50:18 +02:00

fix(server): not in album filter show motion part of LivePhotos (#7175)

This commit is contained in:
Alex
2024-02-18 12:17:53 -06:00
committed by GitHub
parent 88214a485b
commit 8e1c85fe4f

View File

@@ -178,7 +178,10 @@ export function searchAssetBuilder(
);
if (options.isNotInAlbum) {
builder.leftJoin(`${builder.alias}.albums`, 'albums').andWhere('albums.id IS NULL');
builder
.leftJoin(`${builder.alias}.albums`, 'albums')
.andWhere('albums.id IS NULL')
.andWhere(`${builder.alias}.isVisible = true`);
}
if (options.withFaces || options.withPeople) {