diff --git a/TicketOffice/Pages/Routes/Index.cshtml.cs b/TicketOffice/Pages/Routes/Index.cshtml.cs index f35dd19..ca3263b 100644 --- a/TicketOffice/Pages/Routes/Index.cshtml.cs +++ b/TicketOffice/Pages/Routes/Index.cshtml.cs @@ -68,7 +68,7 @@ public class IndexModel : PageModel { OnGet(); - if (SortString == "increasingNumber dependencies") + if (SortString == "increasingNumber") { Routes.Sort((x, y) => Math.Clamp(x.Number - y.Number, -1, 1)); }