-
Bug
-
Resolution: Not a bug
-
Low
-
None
-
Severity 3 - Minor
Summary
When doing a user or group search to set Permissions on a page, the results are not reflecting the search pattern when the search has a space. Example: A search for "test j" will return the same results as "test" without considering the space or the letter "j".
Problem:
If the site has more than 6 users with the same name but different last name, the searchable user may not be listed at all, and incorrect users will be listed
Environment
- Confluence
Steps to Reproduce
- Create at least 7 users with the same first name but different last names
- Search for the 7th user using the Last name initial
Expected Results:
- User is listed because it is matches the search.
- Other users not matching the search pattern are not listed.
Actual Results:
User is not listed at all
the user "Test Jk" exists and should be listed.
The search is triggering the call:
https://site.atlassian.net/wiki/rest/prototype/1/search/user-or-group.json?max-results=6&query=test+j&_=1492998751784
that returns the same results as "query=test" and don't include "Test Jk" because it is limited to 6 results.
Notes
Searching with the first 2 letters of the last name will return the correct results
User mentions on pages and comments are not affected because they use a different rest api call to get search results.
Workaround
Search for more than 2 letters for first and last names.
- relates to
-
CONFCLOUD-43226 Auto-complete and Group name picker limit in page restriction
- Closed