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

Search string with a space breaks the search results paging #507

Closed
henriyli opened this issue Apr 20, 2016 · 0 comments
Closed

Search string with a space breaks the search results paging #507

henriyli opened this issue Apr 20, 2016 · 0 comments

Comments

@henriyli
Copy link
Collaborator

At which URL did you encounter the problem?

http://localhost/Skosmos/yso/fi/search?clang=fi&q=*nkielinen+kirjallisuus

What steps will reproduce the problem?

  1. Scroll to the bottom

What is the expected output? What do you see instead?

Expected to see rest of the results, but since the searchTerm variable now contains a + char and decodeURI() doesn't know how to handle this the space gets double encoded and the query for more results fails.

What browser did you use? (eg. Firefox, Chrome, Safari, Internet explorer)

@henriyli henriyli added this to the 1.6 milestone Apr 20, 2016
henriyli pushed a commit that referenced this issue Apr 20, 2016
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

1 participant