Skip to content
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

Searching users is not intuitive, can't do partial searches without special characters #14153

Closed
C0rn3j opened this issue Feb 12, 2019 · 3 comments
Labels

Comments

@C0rn3j
Copy link

C0rn3j commented Feb 12, 2019

Steps to reproduce

  1. Have a user with display name "Martin Rys"
  2. Go to https://cloud.example.com/settings/users as an admin and try to search for "Rys"
  3. 0 results

Expected behaviour

"Martin Rys" should pop up because "Rys" is part of the string "Martin Rys"

Actual behaviour

No results. Doing "*Rys" gets the result but that is far from intuitive.

Server configuration

Operating system: Ubuntu 18.04

Web server: Nginx

Database: MariaDB

PHP version: 7.2.10

Nextcloud version: 15.0.2

Updated from an older Nextcloud/ownCloud or fresh install: Originally NC 12

Where did you install Nextcloud from:
Manually.

Client configuration

Browser: Firefox 65

Operating system: Arch Linux

Logs

N/A, will provide if they're actually needed for the search issue.

@C0rn3j C0rn3j added 0. Needs triage Pending check for reproducibility or if it fits our roadmap bug labels Feb 12, 2019
@skjnldsv skjnldsv added 1. to develop Accepted and waiting to be taken care of feature: users and groups enhancement and removed 0. Needs triage Pending check for reproducibility or if it fits our roadmap bug labels Mar 3, 2019
@putt1ck
Copy link

putt1ck commented Oct 1, 2019

NB I think I'm going to remark this a bug as we can show that the results are inconsistent regarding the wildcard/partial match user searches. Scenario:

installation has a user (from LDAP) username john.smith, display name John Smith, the user is a member of several groups;
a search for "john" returns the user regardless of the group searched in;
a search for "smith"returns the user in some groups but not ones with many users (including the "everyone" category, installation has >400 users from LDAP, maybe 10 local to NC database);
a search for "*smith" returns the user from the large groups but not the small ones.

Further:

a search for "a" returns all LDAP users with first letter a - and all NC database users whose username, display name or email address contain "a".

@putt1ck putt1ck added the bug label Oct 1, 2019
@putt1ck
Copy link

putt1ck commented Oct 1, 2019

NB that's NC16.04, updated in many steps from ~10. LDAP server is samba, backend DB is postgres.

@skjnldsv
Copy link
Member

Duplicate of #11540

@skjnldsv skjnldsv marked this as a duplicate of #11540 Mar 10, 2020
smarinier added a commit to smarinier/server that referenced this issue May 28, 2024
Fix nextcloud#11540 and nextcloud#14153

Signed-off-by: Sebastien Marinier <seb@smarinier.net>
smarinier added a commit to smarinier/server that referenced this issue Jun 12, 2024
Fix nextcloud#11540 and nextcloud#14153

Signed-off-by: Sebastien Marinier <seb@smarinier.net>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants