aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Server.Implementations
diff options
context:
space:
mode:
authorJPVenson <github@jpb.email>2025-10-10 20:08:59 +0000
committerJPVenson <github@jpb.email>2025-10-10 20:08:59 +0000
commit8abcfb2a80118e46057e98562fe08ad7770b8c69 (patch)
treef34c920a055212cb5521da44dd2216a6f5727ec6 /Jellyfin.Server.Implementations
parentceef9143ad2bb342d7022f88aec1e14ba92204d4 (diff)
Fix ordering query
Diffstat (limited to 'Jellyfin.Server.Implementations')
-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 2215e6cf1..f4396301c 100644
--- a/Jellyfin.Server.Implementations/Item/BaseItemRepository.cs
+++ b/Jellyfin.Server.Implementations/Item/BaseItemRepository.cs
@@ -1245,7 +1245,7 @@ public sealed class BaseItemRepository
.AsSingleQuery()
.Where(e => masterQuery.Contains(e.Id));
- ApplyOrder(query, filter);
+ query = ApplyOrder(query, filter);
var result = new QueryResult<(BaseItemDto, ItemCounts?)>();
if (filter.EnableTotalRecordCount)