invenio-app-rdm
invenio-app-rdm copied to clipboard
Exact match searching is unnecessarily picky about quotes
Package version (if known): v12-v13
Describe the bug
Exact match searching is unnecessarily sensitive to the type of quote character. Copy and pasted “curly” quotes or single quotes aren't respected, resulting in confusing behavior.
Steps to Reproduce
- Go to 'Zenodo'
- See 41,909 results
- Enter “Flow cytometry” into the search box
- Still see 41,909 results
- Enter 'Flow cytometry' into the search box
- Still see 41,909 results
- Replace the quotes with " from your keyboard
- Get the expected 1,517 results
Expected behavior
The search query parser should normalize quotes to generate exact matches regardless of the quote type used.
This issue was automatically marked as stale.