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

pull/2923/head
Alex 2023-06-23 09:34:55 +07:00 committed by GitHub
parent 751922990f
commit 00f65a53dd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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