theCrag / website

theCrag.com: Add your voice and help guide the development of the world's largest collaborative rock climbing & bouldering platform
https://www.thecrag.com/
111 stars 8 forks source link

Route grade distribution chart stats are wrong #3560

Closed rouletout closed 3 years ago

rouletout commented 5 years ago

What happened?

Here for example: https://www.thecrag.com/climbing/france/buoux the stats show 2 8c+ but if you click on them it only shows 1.

Issue seems to come from here: https://www.thecrag.com/climbing/france/buoux/area/14010169

Hint: this route (Brexit Exit) was moved from Buoux into the correct sector, no idea if this has an impact.

What you expected:

Correct number on distr. graph

lordyavin commented 4 years ago

Possible duplicate of #3545

rouletout commented 4 years ago

This might help, I just added 3 routes but the stats show 6 - the grades are YDS_ALT - maybe the width of the grades makes them counted twice?

https://www.thecrag.com/climbing/belize/area/3151372260

rouletout commented 3 years ago

Duplicate of https://github.com/theCrag/website/issues/3545 closing here