The Free Software Media System - Server Backend & API
Fix device ordering
Cody Robibero57db188c2eb9
diff --git a/Jellyfin.Server.Implementations/Devices/DeviceManager.cs b/Jellyfin.Server.Implementations/Devices/DeviceManager.csindex 54d1a53376..6c77421c70 100644--- a/Jellyfin.Server.Implementations/Devices/DeviceManager.cs+++ b/Jellyfin.Server.Implementations/Devices/DeviceManager.cs@@ -173,8 +173,8 @@ namespace Jellyfin.Server.Implementations.Devicesvar sessions = dbContext.Devices.Include(d => d.User).AsQueryable()- .OrderBy(d => d.DeviceId)- .ThenByDescending(d => d.DateLastActivity)+ .OrderByDescending(d => d.DateLastActivity)+ .ThenBy(d => d.DeviceId).AsAsyncEnumerable();if (supportsSync.HasValue)