mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-01 19:46:01 +01:00
show old groups first
This commit is contained in:
@@ -16,7 +16,7 @@ groupsController.list = function (req, res, next) {
|
|||||||
|
|
||||||
async.waterfall([
|
async.waterfall([
|
||||||
function (next) {
|
function (next) {
|
||||||
db.getSortedSetRevRange('groups:createtime', 0, -1, next);
|
db.getSortedSetRange('groups:createtime', 0, -1, next);
|
||||||
},
|
},
|
||||||
function (groupNames, next) {
|
function (groupNames, next) {
|
||||||
groupNames = groupNames.filter(function (name) {
|
groupNames = groupNames.filter(function (name) {
|
||||||
|
|||||||
Reference in New Issue
Block a user