Browse Source

Sort album assets from newest to oldest (#3444)

cfitzw 2 years ago
parent
commit
7147486b6a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      server/src/immich/api-v1/album/album-repository.ts

+ 1 - 1
server/src/immich/api-v1/album/album-repository.ts

@@ -36,7 +36,7 @@ export class AlbumRepository implements IAlbumRepository {
       },
       order: {
         assets: {
-          fileCreatedAt: 'ASC',
+          fileCreatedAt: 'DESC',
         },
       },
     });