mirror of
https://github.com/KevinMidboe/immich.git
synced 2026-02-12 11:19:20 +00:00
fix(server): people sorting (#3713)
This commit is contained in:
@@ -26,8 +26,10 @@ export class PersonService {
|
||||
) {}
|
||||
|
||||
async getAll(authUser: AuthUserDto, dto: PersonSearchDto): Promise<PeopleResponseDto> {
|
||||
const people = await this.repository.getAll(authUser.id, { minimumFaceCount: 1 });
|
||||
|
||||
const people = await this.repository.getAll(authUser.id, {
|
||||
minimumFaceCount: 1,
|
||||
withHidden: dto.withHidden || false,
|
||||
});
|
||||
const persons: PersonResponseDto[] = people
|
||||
// with thumbnails
|
||||
.filter((person) => !!person.thumbnailPath)
|
||||
|
||||
Reference in New Issue
Block a user