diff --git a/server/src/infra/repositories/person.repository.ts b/server/src/infra/repositories/person.repository.ts index 1089168094..3455109bce 100644 --- a/server/src/infra/repositories/person.repository.ts +++ b/server/src/infra/repositories/person.repository.ts @@ -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,