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

Broken filter URLs when using "not" filters #36

Open
paulflakstad opened this issue Dec 9, 2014 · 2 comments
Open

Broken filter URLs when using "not" filters #36

paulflakstad opened this issue Dec 9, 2014 · 2 comments

Comments

@paulflakstad
Copy link

When using a "not" filter, the string part "&not" is replaced by a ¬ character in the generated filter URLs, breaking all the filter links.

Example:
http://api.npolar.no/publication/?q=&filter-published_sort=2014-01-01T00%3A00%3A00Z..2014-12-31T23%3A59%3A59Z&not-draft=yes&not-state=submitted&facets=publication_type,publication_lang,state,topics,area,hemisphere,placename,location

@cnrdh
Copy link
Member

cnrdh commented Jan 5, 2015

Good catch, thought only I knew of this weird and inexplicable bug...

@cnrdh
Copy link
Member

cnrdh commented May 3, 2017

We should deprecate not and introduce "no" as the new "not" like "no-x":"y" (or "reject"?)

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

No branches or pull requests

3 participants