Closed danthe1st closed 7 months ago
The monthly XP leaderboard currently uses the current page number as offset.
However, this does not result in pagination as e.g. page 2 would contain ranks 2-11 instead of ranks 11-20.
This PR fixes this by calculating the offset using the pagesize and current page.
The monthly XP leaderboard currently uses the current page number as offset.
However, this does not result in pagination as e.g. page 2 would contain ranks 2-11 instead of ranks 11-20.
This PR fixes this by calculating the offset using the pagesize and current page.