fix person type exclusion in api response (#16784)

This commit is contained in:
dkanada 2026-05-07 06:39:45 +09:00 committed by GitHub
parent a629080c89
commit 3876a0ad3d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -239,7 +239,7 @@ public class PeopleRepository(IDbContextFactory<JellyfinDbContext> dbProvider, I
if (queryExcludePersonTypes.Count > 0)
{
query = query.Where(e => !queryPersonTypes.Contains(e.PersonType));
query = query.Where(e => !queryExcludePersonTypes.Contains(e.PersonType));
}
if (filter.MaxListOrder.HasValue && !filter.ItemId.IsEmpty())