osmcha-frontend
osmcha-frontend copied to clipboard
Bbox of filter only shows one number instead of 4 numbers after saving
I'm submitting a (bug report/feature request/ support or question)
bug_report
Brief Description
The saved filter settings for bbox are not shown properly in Firefox/Chrome
What is the motivation / use case for this feature?
This makes it difficult to create a new filter from the existing filter Bbox.
What is the current behaviour, (attach relevant screenshots) ?
It shows one number only
What is the expected behaviour ?
It should show four numbers corresponding to min and max of longitude, lattitude.
When does this occur ?
Always
How do we replicate the issue ?
-
Check this filter: https://osmcha.org/filters?aoi=5950eeb5-f7cf-4f50-846a-53155b50356d
-
Bbox shows only one number.
-
Change other than bbox another filter setting such as Flag and select Apply. You can see the full details of bbox for example: https://osmcha.org/?filters=%7B%22area_lt%22%3A%5B%7B%22value%22%3A%221%22%2C%22label%22%3A%221%22%7D%5D%2C%22checked%22%3A%5B%7B%22value%22%3A%22False%22%2C%22label%22%3A%22False%22%7D%5D%2C%22in_bbox%22%3A%5B%7B%22value%22%3A%22%2073.3916223%22%2C%22label%22%3A%22%2073.3916223%22%7D%2C%7B%22value%22%3A%22%2011.0289166%22%2C%22label%22%3A%22%2011.0289166%22%7D%2C%7B%22value%22%3A%22%2085.3391326%22%2C%22label%22%3A%22%2085.3391326%22%7D%2C%7B%22value%22%3A%22%2020.4787492%22%2C%22label%22%3A%22%2020.4787492%22%7D%5D%2C%22metadata%22%3A%5B%7B%22value%22%3A%22changesets_count__max%3D1%22%2C%22label%22%3A%22changesets_count__max%3D1%22%7D%5D%2C%22date__gte%22%3A%5B%7B%22value%22%3A%222023-12-01%22%2C%22label%22%3A%222023-12-01%22%7D%5D%2C%22is_suspect%22%3A%5B%7B%22label%22%3A%22Yes%22%2C%22value%22%3A%22True%22%7D%5D%7D
Please tell us about your environment:
Ubuntu 22.04, Firefox 120.0.1(64 bit) Snap for ubuntu or Google Chrome Version 120.0.6099.129 (Official Build) (64-bit)
Other Information / context:
@willemarcel
Duplicate of #223