quist00 / onesearch-local

Provides a anuglar2 implementation of OneSearch (formerly Primo) searchbox that can be embedded on library's page
GNU General Public License v3.0
0 stars 0 forks source link

Search characters being filtered #15

Closed Steve-A-Orr closed 5 years ago

Steve-A-Orr commented 6 years ago

This is observed by one of the librarians here at Fresno State:

If you use the search box on our home page, it seems that punctuation and/or "special" characters get left out of your search on Primo. However, if you're in Primo, you can include these characters and search on them.

Try searching on "C++" or "C#" as an example. From the home page search box, you'll be taken to Primo results for "C". From there, however, you can perform the original search as expected.

I haven't poked around yet to confirm or solve, just thought I'd report it first.

rschwab commented 6 years ago

Confirmed solved by the "Encode Search with encodeURIComponent" commit.

Steve-A-Orr commented 5 years ago

Sorry, didn't know I had to close this issue. Thank you.