mirror of
https://github.com/immich-app/immich
synced 2025-11-07 17:27:20 +00: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) {
|
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) {
|
if (options.withFaces || options.withPeople) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue