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

Bug with duration filter #502

Closed
cbeauchesne opened this issue Apr 9, 2019 · 1 comment
Closed

Bug with duration filter #502

cbeauchesne opened this issue Apr 9, 2019 · 1 comment
Labels
bug Something isn't working high prio must be fixed ASAP
Milestone

Comments

@cbeauchesne
Copy link
Member

If you select more than one options with duration filter on routes, if they are not sorted, nothing is returned :

NOK : https://www.camptocamp.org/routes?act=skitouring&time=2,1
OK : https://www.camptocamp.org/routes?act=skitouring&time=1,2

@cbeauchesne cbeauchesne added bug Something isn't working high prio must be fixed ASAP labels Apr 9, 2019
@cbeauchesne
Copy link
Member Author

It's because this filter is setted as a multiselect, it should be a slider defining a range.

time=a,b means [a,b], not {a,b}

cbeauchesne added a commit that referenced this issue Apr 9, 2019
Durations query is a range, not a set. #502
@cbeauchesne cbeauchesne added this to the 7.0.5 milestone Apr 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working high prio must be fixed ASAP
Projects
None yet
Development

No branches or pull requests

1 participant