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

fix(server): Fix person's assets retrival order (#2920)

This commit is contained in:
Alex 2023-06-23 09:34:55 -05:00 committed by GitHub
parent 751922990f
commit 00f65a53dd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -61,7 +61,7 @@ export class PersonRepository implements IPersonRepository {
exifInfo: true, exifInfo: true,
}, },
order: { order: {
createdAt: 'ASC', fileCreatedAt: 'desc',
}, },
// TODO: remove after either (1) pagination or (2) time bucket is implemented for this query // TODO: remove after either (1) pagination or (2) time bucket is implemented for this query
take: 1000, take: 1000,