updated sorting logic (syntax error)

v1.18.x
Julian Lam 10 years ago
parent 28f569ea20
commit f0ad2020df

@ -1089,7 +1089,7 @@ var async = require('async'),
case 'alpha': // intentional fall-through case 'alpha': // intentional fall-through
default: default:
groups = groups.sort(function(a, b) { groups = groups.sort(function(a, b) {
return a.slug > b.slug; return a.slug > b.slug ? 1 : -1;
}); });
} }

Loading…
Cancel
Save