The Free Software Media System - Server Backend & API
Fix library performance
Shadowghostde32e2eb6fdb
diff --git a/Jellyfin.Server.Implementations/Item/BaseItemRepository.cs b/Jellyfin.Server.Implementations/Item/BaseItemRepository.csindex d65f9ab488..f43677ab11 100644--- a/Jellyfin.Server.Implementations/Item/BaseItemRepository.cs+++ b/Jellyfin.Server.Implementations/Item/BaseItemRepository.cs@@ -335,6 +335,7 @@ public sealed class BaseItemRepository}var itemsById = ApplyNavigations(context.BaseItems.Where(e => orderedIds.Contains(e.Id)), filter)+ .AsSplitQuery().AsEnumerable().Select(w => DeserializeBaseItem(w, filter.SkipDeserialization)).Where(dto => dto is not null)