Commit 906b2720 authored by Richard Mansfield's avatar Richard Mansfield
Browse files

Add userid to sort by clause of admin search



This makes the order more consistent when changing the sort column

Change-Id: Ia948edf11cc3590141e5d60530826a535b843c62
Signed-off-by: default avatarRichard Mansfield <richard.mansfield@catalyst.net.nz>
parent 2b6cd906
......@@ -418,7 +418,7 @@ class PluginSearchInternal extends PluginSearch {
u.active, NOT u.suspendedcusr IS NULL as suspended
FROM
{usr} u ' . $institutionsearch . $where . '
ORDER BY ' . $sort,
ORDER BY ' . $sort . ', u.id',
$values,
$offset,
$limit);
......
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