Update Jellyfin.Server.Implementations/Devices/DeviceManager.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
This commit is contained in:
parent
befedaf6fc
commit
5d1139ec62
|
@ -168,6 +168,7 @@ namespace Jellyfin.Server.Implementations.Devices
|
||||||
{
|
{
|
||||||
await using var dbContext = _dbProvider.CreateContext();
|
await using var dbContext = _dbProvider.CreateContext();
|
||||||
var sessions = dbContext.Devices
|
var sessions = dbContext.Devices
|
||||||
|
.Include(d => d.User)
|
||||||
.AsQueryable()
|
.AsQueryable()
|
||||||
.OrderBy(d => d.DeviceId)
|
.OrderBy(d => d.DeviceId)
|
||||||
.ThenByDescending(d => d.DateLastActivity)
|
.ThenByDescending(d => d.DateLastActivity)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user