osmose-frontend icon indicating copy to clipboard operation
osmose-frontend copied to clipboard

On issues list page, country selector does not show joker

Open pyrog opened this issue 5 years ago • 3 comments

When filtering with the dropdown list, return nothing for country, region. Work only for department.

http://osmose.openstreetmap.fr/fr/errors/?country=france&item=3230&level=1%2C2%2C3 return nothing

With a joker added at the end of the country value, it work fine : http://osmose.openstreetmap.fr/fr/errors/?country=france*&item=3230&level=1%2C2%2C3

Also, the list is not updated to show that the list is filtered by country.

pyrog avatar May 18 '20 12:05 pyrog

It is the expected behaviours for now. Please Make a PR to improve it.

frodrigo avatar May 18 '20 12:05 frodrigo

It is the expected behaviours for now.

Sure ? Filter to select nothing 🤔

I searched but don't found where the list is build 😉

I could also add a joker every time in the url : errors/?country=france_aquitaine_gironde same as errors/?country=france_aquitaine_gironde*

Or add it internally in the backend ?

pyrog avatar May 18 '20 12:05 pyrog

I searched but don't found where the list is build 😉

🔮 Oh, there is a yellow clue : Web/JS 😃

pyrog avatar May 18 '20 13:05 pyrog