possible sort fix

v1.18.x
Barış Soner Uşaklı 10 years ago
parent 9a03671ad2
commit d0b1ebb8ea

@ -37,7 +37,7 @@ module.exports = function(Groups) {
groups = groups.sort(function(a, b) {
return a.slug > b.slug;
}).sort(function(a, b) {
return a.memberCount < b.memberCount;
return b.memberCount - a.memberCount;
});
break;

Loading…
Cancel
Save