openlibrary
openlibrary copied to clipboard
? character is not searchable
Problem
Searching for the ? character returns no results.
Reproducing the bug
- Go to ...openlibrary.org
- Do ...enter ? into the search box
- Expected behavior: titles containing a ? should appear in results
- Actual behavior: No results. https://openlibrary.org/search?q=title%3A+%22%3F%22&mode=everything
Context
- Browser (Chrome, Safari, Firefox, etc):
- OS (Windows, Mac, etc):
- Logged in (Y/N):
- Environment (prod, dev, local): prod
Breakdown
Requirements Checklist
- [ ]
Related files
*
Stakeholders
*
Instructions for Contributors
- Please run these commands to ensure your repository is up to date before creating a new branch to work on this issue and each time after pushing code to Github, because the pre-commit bot may add commits to your PRs upstream.
hey @seabelis i'm new with open source contribution here, as of now i have check the need with the support for the "?" like previous addons were made for "@" and "#" i have added the support to "?" for the search. the code fix is added on 10046/fix/question-char-not-searchable branch you can check and merge it :)
Howdy, thanks @ronibhakta1 and great idea using that other one as a template! Assigning to you
@cdrini @mekarpeles can you check the changes which are made as per asked, can you check that I have updated it 6 days ago