mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-09-26 19:29:07 +00:00
Order results in authentication page by timestamp (newest first)
This commit is contained in:
parent
df49ae10fd
commit
70cf34dd7e
1 changed files with 1 additions and 0 deletions
|
@ -20,6 +20,7 @@ namespace LBPUnion.ProjectLighthouse.Pages.ExternalAuth
|
|||
this.AuthenticationAttempts = this.Database.AuthenticationAttempts.Include
|
||||
(a => a.GameToken)
|
||||
.Where(a => a.GameToken.UserId == this.User.UserId)
|
||||
.OrderByDescending(a => a.Timestamp)
|
||||
.ToList();
|
||||
|
||||
return this.Page();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue