mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-07-01 11:23:36 +02: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
|
||||
.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…
Reference in a new issue