WordPress.org

Plugin Directory

Opened 2 years ago

Closed 2 years ago

#1434 closed enhancement (fixed)

Co-Authors Plus: AJAX search by other fields too

Reported by: danielbachhuber Owned by: danielbachhuber
Priority: normal Severity: normal
Plugin: not-listed Keywords: co-authors-plus
Cc: batmoo

Description (last modified by jane)

Currently, our AJAX search only searches against username which isn't that useful (as users have noticed).

It would be good to add other fields to the index, including first name, last name, and email address

Change History (3)

comment:1 danielbachhuber2 years ago

get_users() doesn't seem to respect the 'fields' argument very much.... hmm...

comment:2 jane2 years ago

  • Description modified (diff)

comment:3 danielbachhuber2 years ago

  • Resolution set to fixed
  • Status changed from new to closed

In [479574]:

Co-Authors Plus: Modify get_users() SQL query so that we search display_name instead of user_nicename. This should lead to much better usability

Fixes #1434

Note: See TracTickets for help on using tickets.