From 2060d0ca2c1eab6c1087f3edfa56e7cb92331c22 Mon Sep 17 00:00:00 2001 From: JPVenson Date: Wed, 13 Nov 2024 19:09:39 +0000 Subject: [PATCH] Fixed DeadPeople query --- Jellyfin.Server.Implementations/Item/BaseItemRepository.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jellyfin.Server.Implementations/Item/BaseItemRepository.cs b/Jellyfin.Server.Implementations/Item/BaseItemRepository.cs index 83a1a3a537..0990934339 100644 --- a/Jellyfin.Server.Implementations/Item/BaseItemRepository.cs +++ b/Jellyfin.Server.Implementations/Item/BaseItemRepository.cs @@ -956,7 +956,7 @@ public sealed class BaseItemRepository( if (filter.IsDeadPerson.HasValue && filter.IsDeadPerson.Value) { baseQuery = baseQuery - .Where(e => !e.Peoples!.Any(f => f.People.Name == e.Name)); + .Where(e => !context.Peoples.Any(f => f.Name == e.Name)); } if (filter.Years.Length == 1)