diff --git a/server/src/queries/asset.repository.sql b/server/src/queries/asset.repository.sql index eda91482bb1d0..98edc8da1d292 100644 --- a/server/src/queries/asset.repository.sql +++ b/server/src/queries/asset.repository.sql @@ -87,7 +87,7 @@ WHERE ) AND ("entity"."deletedAt" IS NULL) ORDER BY - "entity"."localDateTime" ASC + "entity"."fileCreatedAt" ASC -- AssetRepository.getByIds SELECT