There was a bug in statistics where all types of routes were considered as sport in tables and graphs. This PR adds a hardcoded filter to the query. The backend implementation allows us to add filters to the frontend for an upgrade of this, to also have alpine / bouldering statistics.
Test by adding a high grade boulder to your log and see that it is counted as a route in statistics (8a boulder as 8b+ route). Then apply the API PR, run codegen, apply this and open stats again.
There was a bug in statistics where all types of routes were considered as sport in tables and graphs. This PR adds a hardcoded filter to the query. The backend implementation allows us to add filters to the frontend for an upgrade of this, to also have alpine / bouldering statistics.
Test by adding a high grade boulder to your log and see that it is counted as a route in statistics (8a boulder as 8b+ route). Then apply the API PR, run codegen, apply this and open stats again.