|
|
@ -173,8 +173,8 @@ namespace Jellyfin.Server.Implementations.Devices
|
|
|
|
var sessions = dbContext.Devices
|
|
|
|
var sessions = dbContext.Devices
|
|
|
|
.Include(d => d.User)
|
|
|
|
.Include(d => d.User)
|
|
|
|
.AsQueryable()
|
|
|
|
.AsQueryable()
|
|
|
|
.OrderBy(d => d.DeviceId)
|
|
|
|
.OrderByDescending(d => d.DateLastActivity)
|
|
|
|
.ThenByDescending(d => d.DateLastActivity)
|
|
|
|
.ThenBy(d => d.DeviceId)
|
|
|
|
.AsAsyncEnumerable();
|
|
|
|
.AsAsyncEnumerable();
|
|
|
|
|
|
|
|
|
|
|
|
if (supportsSync.HasValue)
|
|
|
|
if (supportsSync.HasValue)
|
|
|
|