Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bbox of filter only shows one number instead of 4 numbers after saving #695

Open
arjunaraoc opened this issue Jan 1, 2024 · 1 comment

Comments

@arjunaraoc
Copy link

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 ?

  1. Check this filter: https://osmcha.org/filters?aoi=5950eeb5-f7cf-4f50-846a-53155b50356d

  2. Bbox shows only one number.
    Screenshot from 2024-01-01 15-12-49

  3. 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

@arjunaraoc
Copy link
Author

Duplicate of #223

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant