mirror of
https://github.com/immich-app/immich.git
synced 2025-01-16 00:36:47 +01:00
fix(server): not in album filter show motion part of LivePhotos (#7175)
This commit is contained in:
parent
88214a485b
commit
8e1c85fe4f
1 changed files with 4 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue