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
Name Search fails when there are two spaces instead of one #2990
Comments
@chrismcgrath would you be comfortable with us ensuring the last names (and first names) don't have more than one space between parts? |
Confirmed. Just to add a little more clarity (step one was a bit unclear). I created a person with First Name = If I search for If I search for For reference, if the last name is |
Would an acceptable fix for this be to: Seems like this is a case of 'bad data' so it would be best to keep it from occurring. |
Seems reasonable to me! |
Solution: Would an acceptable fix for this be to: |
…s will be corrected when a person is saved as well as by the nightly clean-up job. Processing the nightly clean-up step takes ~1,400 ms on a very large database. (Fixes #2990)
Prerequisites
Description
When a First or Last name has two spaces where there should be one, searching by Name and clicking on the tooltip that pops up fails to find the person.
Steps to Reproduce
Expected behavior:
Should go directly to the person's profile (or to a search results with all the available results if more than one person with that name exists).
Actual behavior:
No results are found because the search parameter in the url only has one space character where there should be two.
Versions
The text was updated successfully, but these errors were encountered: