Make playoff round ordering sequential and increasing.

This commit is contained in:
Patrick Fairbank
2022-08-16 20:03:51 -07:00
parent b6050d8cfc
commit 037df786b7
4 changed files with 80 additions and 84 deletions

View File

@@ -122,7 +122,7 @@ func (database *Database) GetMatchesByType(matchType string) ([]Match, error) {
}
return matchingMatches[i].ElimInstance < matchingMatches[j].ElimInstance
}
return matchingMatches[i].ElimRound > matchingMatches[j].ElimRound
return matchingMatches[i].ElimRound < matchingMatches[j].ElimRound
})
return matchingMatches, nil
}