aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Server.Implementations/Item
diff options
context:
space:
mode:
authorJPVenson <github@jpb.email>2025-09-25 00:22:05 +0300
committerGitHub <noreply@github.com>2025-09-24 15:22:05 -0600
commit740b9924a011c260d9f079d111a47351037d5ad3 (patch)
tree34eaf4c1f505e32f98a00eb9f17c5e6ca81a24e7 /Jellyfin.Server.Implementations/Item
parent5a6d9180fed81a30cb91ef3fed30176cd4402116 (diff)
Include ListOrder on Import (#14854)
Diffstat (limited to 'Jellyfin.Server.Implementations/Item')
-rw-r--r--Jellyfin.Server.Implementations/Item/BaseItemRepository.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Jellyfin.Server.Implementations/Item/BaseItemRepository.cs b/Jellyfin.Server.Implementations/Item/BaseItemRepository.cs
index 68260fbf0..e08217b66 100644
--- a/Jellyfin.Server.Implementations/Item/BaseItemRepository.cs
+++ b/Jellyfin.Server.Implementations/Item/BaseItemRepository.cs
@@ -481,7 +481,7 @@ public sealed class BaseItemRepository
var counts = dbQuery
.GroupBy(x => x.Type)
.Select(x => new { x.Key, Count = x.Count() })
- .AsEnumerable();
+ .ToArray();
var lookup = _itemTypeLookup.BaseItemKindNames;
var result = new ItemCounts();