mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-07-16 10:11:28 +00:00
Potentially fix score sorting issue (#721)
Update SlotPage.cshtml.cs lel
This commit is contained in:
parent
2738d04dbb
commit
307b2135a3
1 changed files with 2 additions and 2 deletions
|
@ -107,7 +107,7 @@ public class SlotPage : BaseLayout
|
|||
.ToListAsync();
|
||||
|
||||
this.Scores = await this.Database.Scores.OrderByDescending(s => s.Points)
|
||||
.ThenByDescending(s => s.ScoreId)
|
||||
.ThenBy(s => s.ScoreId)
|
||||
.Where(s => s.SlotId == id)
|
||||
.Take(10)
|
||||
.ToListAsync();
|
||||
|
@ -122,4 +122,4 @@ public class SlotPage : BaseLayout
|
|||
|
||||
return this.Page();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue