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
@@ -150,6 +150,9 @@ func GetAllAdvancedPlayerStats(db *gorm.DB) fiber.Handler {
// --- PAGINATION ---
page := c.QueryInt("page", 1)
pageSize := c.QueryInt("pageSize", 20)
if pageSize > 50 {
pageSize = 50
}
offset := (page - 1) * pageSize
// --- SORTING ---