This commit is contained in:
2026-05-29 00:46:12 -05:00
parent b7af98557c
commit dc4dc4eac4
9 changed files with 1790 additions and 42 deletions
+3
View File
@@ -150,6 +150,9 @@ func GetPlayerTotalStats(db *gorm.DB) fiber.Handler {
team := c.Query("team")
page := c.QueryInt("page", 1)
pageSize := c.QueryInt("pageSize", 20)
if pageSize > 50 {
pageSize = 50
}
// --- SORTING ---
sortByParam := c.Query("sortBy", "points")