From 307b2135a3bba65cbba5ea06cba551f886ec4010 Mon Sep 17 00:00:00 2001 From: Dagg Date: Mon, 27 Mar 2023 16:34:12 -0700 Subject: [PATCH] Potentially fix score sorting issue (#721) Update SlotPage.cshtml.cs lel --- ProjectLighthouse.Servers.Website/Pages/SlotPage.cshtml.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ProjectLighthouse.Servers.Website/Pages/SlotPage.cshtml.cs b/ProjectLighthouse.Servers.Website/Pages/SlotPage.cshtml.cs index f7a6f958..cc06b183 100644 --- a/ProjectLighthouse.Servers.Website/Pages/SlotPage.cshtml.cs +++ b/ProjectLighthouse.Servers.Website/Pages/SlotPage.cshtml.cs @@ -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(); } -} \ No newline at end of file +}