Update Jellyfin.Server.Implementations/Devices/DeviceManager.cs

Co-authored-by: Cody Robibero <cody@robibe.ro>
pull/6201/head
Patrick Barron 3 years ago committed by GitHub
parent befedaf6fc
commit 5d1139ec62
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -168,6 +168,7 @@ namespace Jellyfin.Server.Implementations.Devices
{
await using var dbContext = _dbProvider.CreateContext();
var sessions = dbContext.Devices
.Include(d => d.User)
.AsQueryable()
.OrderBy(d => d.DeviceId)
.ThenByDescending(d => d.DateLastActivity)

Loading…
Cancel
Save