aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAriel Costas Guerrero <ariel@costas.dev>2026-04-12 18:19:30 +0200
committerAriel Costas Guerrero <ariel@costas.dev>2026-04-12 18:19:30 +0200
commitfc6d4cbaf78f75a5ac234862ecbf86faeb78a338 (patch)
treefd9b49281317af7c28bdb908d43870af98b0834a /src
parentaaa3a5abc5f436d4b4d84759883dc68a44621481 (diff)
Move vitrasa football routes to the endHEADmain
Diffstat (limited to 'src')
-rw-r--r--src/Enmarcha.Backend/Helpers/SortingHelper.cs6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/Enmarcha.Backend/Helpers/SortingHelper.cs b/src/Enmarcha.Backend/Helpers/SortingHelper.cs
index 7fd4e37..bd655a9 100644
--- a/src/Enmarcha.Backend/Helpers/SortingHelper.cs
+++ b/src/Enmarcha.Backend/Helpers/SortingHelper.cs
@@ -86,6 +86,7 @@ public class SortingHelper
/// 1 = Regular numbered routes (4A, 6, 10, A, etc.)
/// 2 = Hospital (H, H1, H2, H3)
/// 3 = Others (N*, PSA*, U*, LZD, PTL)
+ /// 4 = Football (MAR, GOL and RIO)
/// </summary>
private static int GetVitrasaRouteGroup(string shortName)
{
@@ -125,6 +126,11 @@ public class SortingHelper
return 3;
}
+ if (shortName == "MAR" || shortName == "GOL" || shortName == "RIO")
+ {
+ return 4;
+ }
+
// Everything else is regular (numbered routes like 4A, 6, 10, single letters like A)
return 1;
}