From 790e43dd6ea34f7854d808af95f475e8dfc6b67c Mon Sep 17 00:00:00 2001 From: Alex Date: Thu, 18 May 2023 22:59:57 -0500 Subject: [PATCH] chore(server): Enhancement for query to get assets for each recognized person (#2475) --- server/libs/infra/src/repositories/person.repository.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/server/libs/infra/src/repositories/person.repository.ts b/server/libs/infra/src/repositories/person.repository.ts index 96100fb524..1089168094 100644 --- a/server/libs/infra/src/repositories/person.repository.ts +++ b/server/libs/infra/src/repositories/person.repository.ts @@ -52,6 +52,7 @@ export class PersonRepository implements IPersonRepository { personId, }, isVisible: true, + isArchived: false, }, relations: { faces: { @@ -63,7 +64,7 @@ export class PersonRepository implements IPersonRepository { createdAt: 'ASC', }, // TODO: remove after either (1) pagination or (2) time bucket is implemented for this query - take: 3000, + take: 1000, }); }