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/
109 stars 8 forks source link

Lead ascends filter bug. #4222

Closed EIMANTASDA closed 7 months ago

EIMANTASDA commented 10 months ago

I have a bug when filtering my logs to see leads. I have logged some seconding and it shows up on my leads. I'm adding pics. I think it might be because of ability to choose the type of seconding you did Screenshot_20230825_183652_Chrome Screenshot_20230825_183843_Chrome Screenshot_20230825_183854_Chrome Screenshot_20230825_183900_Chrome

Let me know if it needs more explanation.

quaestor commented 10 months ago

Hi, the lead ascent of "RIGHT CRACK" showing up in the list is from August 20. The ascent in the first screenshot (August 25) hasn't been logged at all, I cannot see it in your list of ascents.

scd commented 10 months ago

Can you post a link to your logbook.

Basically the tick type dropdown is for the old ascent flow but for the new ascent flow you need to also select the gear style.

Screen Shot 2023-09-04 at 5 41 34 pm

So we need to finish the migration of the old tick flow ascents and update to the new tick types.

scd commented 9 months ago

Internal notes when fixing this.

We want a revised tickStructure function which maps the gear styles in the new ticking interface. Maybe just create a new function. We have to get the tick ids so we still need to call the database.

scd commented 7 months ago

This is now done.