1
0
mirror of https://github.com/immich-app/immich.git synced 2024-12-25 10:43:13 +02:00

fix(server) fix order of asset in shared album to be similar to the actual album (#1293)

This commit is contained in:
Alex 2023-01-10 15:57:03 -06:00 committed by GitHub
parent d1d69bfaf4
commit a648da021f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -70,6 +70,16 @@ export class SharedLinkRepository implements ISharedLinkRepository {
},
order: {
createdAt: 'DESC',
assets: {
createdAt: 'ASC',
},
album: {
assets: {
assetInfo: {
createdAt: 'ASC',
},
},
},
},
});
}