tilde-lab / optimade.science

A "sky-scanner" Optimade browser-only GUI
https://optimade.science/
MIT License
8 stars 3 forks source link

Equals sign from the query filter is dropped #13

Closed blokhin closed 3 years ago

blokhin commented 3 years ago

How to reproduce:

Try rather complex query e.g. elements HAS ANY "C","Si","Ge","Sn","Pb" AND nelements=2: https://optimade.science/?filter=elements%20HAS%20ANY%20"C","Si","Ge","Sn","Pb"%20AND%20nelements=2&providers=threedd while only one provider is enabled.

Then enable arbitrary other new one, clicking by its avatar. The query in the input box changes on its own.

The problem is in the = sign in this part of the query: nelements=2

blokhin commented 3 years ago

@PaulMaly ping

PaulMaly commented 3 years ago

Yea seems it's a router bug. Could you please submit an issue to svelte-pathfinder repo?

PaulMaly commented 3 years ago

Fixed with #19

blokhin commented 3 years ago

Now fixed in production, thanks!