mirror of
https://github.com/immich-app/immich
synced 2025-11-07 17:27:20 +00:00
fix(server): do not count deleted assets for album summary (#15668)
fixes #15645 fixes #15646
This commit is contained in:
parent
64b92cb24c
commit
4f725b95e1
3 changed files with 22 additions and 0 deletions
|
|
@ -210,6 +210,7 @@ from
|
|||
left join "assets" on "assets"."id" = "album_assets"."assetsId"
|
||||
where
|
||||
"albums"."id" in ($1)
|
||||
and "assets"."deletedAt" is null
|
||||
group by
|
||||
"albums"."id"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue