mirror of
				https://github.com/KevinMidboe/immich.git
				synced 2025-10-29 17:40:28 +00:00 
			
		
		
		
	chore(server): Enhancement for query to get assets for each recognized person (#2475)
This commit is contained in:
		@@ -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,
 | 
			
		||||
    });
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user