nicHoch / tca

app bug reporting
3 stars 0 forks source link

Route count of bigger areas seems arbitrary #121

Closed killakalle closed 3 years ago

killakalle commented 3 years ago

What happened?

Castellón Website: 2958 App: 1577

North Portugal Website: 362 App: 2

Example url(s) to reproduce the problem: https://www.thecrag.com/es/escalar/spain/castellon

Ideally also provide screenshots:

image

image

image

image

What you expected:

rouletout commented 3 years ago

@bkucsera this might merit a look, especially the North Portugal as essentially none of the routes are counted - I first thought it has to do with located / non-located routes but it doesn't - any ideas?

bkucsera commented 3 years ago

This happens only on the Search page, because it shows only the offline available (previously visited) nodes. Once you start a Search, it will show the correct search list. On the node info tab, you see the correct numbers (2958 routes in Castellón or 362 in North Portugal).

If we modify this to show everything on Search tab as well (without Searching, just clicking on the tab), it would mean 5 new requests for the server, to download the metadata. I think its better to leave it like this to avoid unnecessary server usage, but if this is disturbing, we can modify the code.

rouletout commented 3 years ago

Fixed, closing