mirror of
https://github.com/immich-app/immich
synced 2025-11-07 17:27:20 +00:00
fix(server): failed to get albums with archived assets (#15611)
* fix(mobile): failed to get albums with archived assets * sql
This commit is contained in:
parent
3c1fa22109
commit
9d8072b994
2 changed files with 1 additions and 3 deletions
|
|
@ -98,7 +98,6 @@ select
|
|||
where
|
||||
"albums_assets_assets"."albumsId" = "albums"."id"
|
||||
and "assets"."deletedAt" is null
|
||||
and "assets"."isArchived" = $1
|
||||
order by
|
||||
"assets"."fileCreatedAt" desc
|
||||
) as "asset"
|
||||
|
|
@ -106,7 +105,7 @@ select
|
|||
from
|
||||
"albums"
|
||||
where
|
||||
"albums"."id" = $2
|
||||
"albums"."id" = $1
|
||||
and "albums"."deletedAt" is null
|
||||
|
||||
-- AlbumRepository.getByAssetId
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue