mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
Merge pull request #7059 from crobibero/device-order
This commit is contained in:
commit
2ab3bf97ef
@ -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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user