thewca / statistics

12 stars 16 forks source link

getWcaIdPage() has an off by 1 error #87

Open toadfrommariokart64 opened 2 years ago

toadfrommariokart64 commented 2 years ago

In sum of ranks, if you search by id for someone who's SOR placement is a multiple of 20, the page number will be 1 higher than it should be. to recreate, go to https://statistics.worldcubeassociation.org/sum-of-ranks, search for someone who's rank is a multiple of 20 (e.g 2017SWOR01 who is no. 20) and press enter.