Commit a8fb539c authored by Melissa Draper's avatar Melissa Draper
Browse files

Add preferredname query for group search (bug #661619)

Makes preferred name appear in the groups about view
instead of the first and last names.
Based on Sean Brennan's patch.

Change-Id: I2e4cbc4b93760759fb1cac7c8f82d41345346993
Signed-off-by: default avatarMelissa Draper <>
parent 026a3542
......@@ -504,7 +504,7 @@ class PluginSearchInternal extends PluginSearch {
else { // All group members
$select = ', u.firstname, u.lastname, u.username,, u.profileicon,, u.firstname, u.lastname, u.username, u.preferredname,, u.profileicon,
u.staff, ' . db_format_tsfield('gm.ctime', 'jointime') . ', gm.role';
$from = '
FROM {usr} u
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment