#26839 closed defect (bug) (duplicate)
User Search Only Searching Usernames (Ignoring First/Last)
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | Priority: | normal | |
| Severity: | normal | Version: | 3.8 |
| Component: | Users | Keywords: | |
| Focuses: | Cc: |
Description
If you go to the users page: http://just-ask-kim.com/wp-admin/users.php (You're displaying all users at this point.)
In the top right you will see a search box.
The search box is currently returning no results for queries that match a first name, last name, or email address (anything other than username).
The search works as expected for matching the search query to the username... but returns nothing attempting to match the other fields.
I've tested this on several sites of mine after a client reported it. Can replicate on 2014 theme with no plugins running. I ran it by the WP Advanced group and several confirmed they are able to reproduce it.
Change History (7)
#2
follow-up:
↓ 3
@
12 years ago
- Keywords reporter-feedback removed
Hey ocean90,
Oops, yes, it will actually search email address. It does NOT require the @ symbol.
Screenshot: http://screencast.com/t/9vD222xu
So my correction would read that, as you noted, it doesn't search in the first name, last name and display name but does search email.
I am noting the concern about lack of an index stated in #16366 however, as noted, email address has no index yet is searched.
Maybe this isn't a bug - although I feel it is - but is instead a user experience issue. Users simply, logically, expect search to search all fields or at least those displayed on the page mentioned. Search is of very limited use without this functionality.
#3
in reply to:
↑ 2
@
12 years ago
Replying to AskKim:
Oops, yes, it will actually search email address. It does NOT require the @ symbol.
It does. Try a user without having support in user login or user nicename.
#6
@
12 years ago
Thank you for cross-tagging Sergey. Hopefully this helps reflect that it's not an issue affecting only myself and a colleague of mine.
Hello AskKim,
yes, the query doesn't search in first name, last name and display_name. See tags/3.8/src/wp-includes/user.php#L485 and the the concern in ticket:16366:4.
But searching for email addresses should work. Just tested this on a fresh 3.8 install. It requires you to have
@in the search query. Can you test this please again?