[wp-trac] [WordPress Trac] #27304: Improve user searching
WordPress Trac
noreply at wordpress.org
Wed May 14 20:12:20 UTC 2014
#27304: Improve user searching
--------------------------+------------------------------
Reporter: johnbillion | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Users | Version:
Severity: normal | Resolution:
Keywords: needs-patch | Focuses: administration
--------------------------+------------------------------
Comment (by MathSmath):
From a usability perspective, I think it's more complicated than just
adding nicename and display name to the search. I think we also need first
and last name from the usermeta.
On the user management screen, "Name" is one of the primary fields used to
identify users. So you'd (reasonably) think it would be a key
consideration in search. But the "name" that's listed is a combination of
the first_name and last_name usermeta fields (not your display name or
nicename).
If I, as a user, see someone listed named "Matt Smith", and I search for
"Matt Smith" and get no results, I (understandably) think that search is
broken.
I've also run into something that might be an edge case, but is worth
mentioning: you're totally allowed to use the @ symbol in your username
(or other user fields). So in assuming that anything with an "@" in it
should ''only'' search the email field is wonky, IMO. But that's how it's
currently implemented.
Aside: am I the only person who thinks there are too many "name" concepts
in core? Login, nicename and display name in the users table, PLUS first
name, last name and nickname stored in usermeta. Are any of these on the
road to deprecation?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/27304#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list