mirror of
https://github.com/immich-app/immich
synced 2025-11-07 17:27:20 +00:00
fix(server): memory assets order (#16325)
This commit is contained in:
parent
8ecc67a364
commit
4ef7eb56a3
2 changed files with 10 additions and 0 deletions
|
|
@ -22,6 +22,8 @@ select
|
|||
where
|
||||
"memories_assets_assets"."memoriesId" = "memories"."id"
|
||||
and "assets"."deletedAt" is null
|
||||
order by
|
||||
"assets"."fileCreatedAt" asc
|
||||
) as agg
|
||||
) as "assets"
|
||||
from
|
||||
|
|
@ -48,6 +50,8 @@ select
|
|||
where
|
||||
"memories_assets_assets"."memoriesId" = "memories"."id"
|
||||
and "assets"."deletedAt" is null
|
||||
order by
|
||||
"assets"."fileCreatedAt" asc
|
||||
) as agg
|
||||
) as "assets"
|
||||
from
|
||||
|
|
@ -82,6 +86,8 @@ select
|
|||
where
|
||||
"memories_assets_assets"."memoriesId" = "memories"."id"
|
||||
and "assets"."deletedAt" is null
|
||||
order by
|
||||
"assets"."fileCreatedAt" asc
|
||||
) as agg
|
||||
) as "assets"
|
||||
from
|
||||
|
|
@ -112,6 +118,8 @@ select
|
|||
where
|
||||
"memories_assets_assets"."memoriesId" = "memories"."id"
|
||||
and "assets"."deletedAt" is null
|
||||
order by
|
||||
"assets"."fileCreatedAt" asc
|
||||
) as agg
|
||||
) as "assets"
|
||||
from
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue