In superuser dashboard's Users page, searching for accounts with certain types of names returns no results
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 1.1k
- Forks
- 564
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 29
Description
What steps does it take to reproduce the issue?
-
When does this issue occur?
When searching in the superuser dashboard's "Users" page for Dataverse accounts with certain types of names, including names that have more than three words, such as names that include middle names (John Paul Stevens), or names that have a last name with a single quote (John O'Henry) -
Which page(s) does it occurs on?
The superuser dashboard's "Users" page -
What happens?
When searching for such names, for example John Paul Stevens, no results are found. Searching for John Paul will return acconts with the name John Paul Stevens (plus any other accounts that include John Paul), but adding (space)Stevens will return no results. -
To whom does it occur (all users, curators, superusers)?
superusers -
What did you expect to happen?
Results are found when searching for these types of names
Which version of Dataverse are you using?
v6.2, 5.10.1 and 5.11
Any related open or closed issues to this bug report?
https://github.com/IQSS/dataverse/issues/5808
Screenshots:
Searching for John O' (and searches that include all characters up to and including the single quote) returns accounts with the name John O'Henry plus accounts with names that include John, e.g. John Smith:

Searching for John O'Henry returns no results:

Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the superuser dashboard's Users page and reproduce the searches for “John Paul Stevens” and “John O'Henry,” comparing them with shorter searches. Trace the user-search handling from that page and verify that searches containing more than three words or a single quote return the expected accounts.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100