Merge pull request #7059 from crobibero/device-order

pull/7060/head
Bond-009 2 years ago committed by GitHub
commit 2ab3bf97ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -173,8 +173,8 @@ namespace Jellyfin.Server.Implementations.Devices
var 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)

Loading…
Cancel
Save