WordPress.org

Make WordPress Core

Opened 18 months ago

Closed 18 months ago

Last modified 7 weeks ago

#22309 closed enhancement (duplicate)

user search should match display_name and user_email too by default

Reported by: magnus78 Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Users Keywords: has-patch
Focuses: Cc:

Description

When searching for users from the dashboard it's not always possible to find users even if you know their display name, which is really frustrating.

Please allow matching on display_name and user_email too.

Attachments (1)

trac22309_search_users_by_displayname.patch (590 bytes) - added by magnus78 18 months ago.
proposed fix

Download all attachments as: .zip

Change History (4)

comment:1 SergeyBiryukov18 months ago

  • Milestone Awaiting Review deleted
  • Resolution set to duplicate
  • Status changed from new to closed

comment:2 magnus7818 months ago

If we worry about speed of large networks i don't see why we wouldn't just add an index for these too?

ALTER TABLE users ADD KEY (user_email);
ALTER TABLE users ADD KEY (display_name);

Note: See TracTickets for help on using tickets.