Skip to content

Commit 31e457f

Browse files
committed
RA1 starts 01-2020.
1 parent c1a128d commit 31e457f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

databaseconnection.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -599,6 +599,7 @@ std::map<uint32_t, Game> DatabaseConnection::fetchGames()
599599
ORDER BY games.updated_at ASC;
600600
)sql";
601601

602+
// In contrast to other ladder, RA can start at 2020-01.
602603
// sides.local_id = stats2.cty do not match for RA
603604
std::string ladderGamesRA = R"sql(
604605
SELECT
@@ -624,7 +625,7 @@ std::map<uint32_t, Game> DatabaseConnection::fetchGames()
624625
LEFT JOIN qm_matches qmm ON qmm.id = games.qm_match_id
625626
LEFT JOIN qm_maps qmap ON qmm.qm_map_id = qmap.id
626627
LEFT JOIN maps maps ON maps.id = qmap.map_id
627-
WHERE ladders.abbreviation = 'ra' AND games.created_at >= '2022-01-01'
628+
WHERE ladders.abbreviation = 'ra' AND games.created_at >= '2020-01-01'
628629
ORDER BY games.updated_at ASC
629630
)sql";
630631

0 commit comments

Comments
 (0)