Commit cc1f4657 authored by Richard Mansfield's avatar Richard Mansfield
Browse files

Fix order of empty groups in site stats query (bug #759375)



Change-Id: Iddb7d6a69b940abcea77ecb1998af56398e5b7f3
Signed-off-by: default avatarRichard Mansfield <richard.mansfield@catalyst.net.nz>
parent 3ce13d04
......@@ -608,7 +608,7 @@ function group_stats_table($limit, $offset) {
WHERE
g.deleted = 0
ORDER BY
mc.members DESC, g.name, g.id",
mc.members IS NULL, mc.members DESC, g.name, g.id",
array(),
$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