From abee98b68dce3efffdd18686b1cd8a00804124d1 Mon Sep 17 00:00:00 2001 From: reality Date: Sat, 24 Aug 2013 19:53:10 +0000 Subject: [PATCH] revere time order for notifies --- modules/report/pages.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/report/pages.js b/modules/report/pages.js index 2fdc542..dc1a70c 100644 --- a/modules/report/pages.js +++ b/modules/report/pages.js @@ -90,7 +90,7 @@ var pages = function(dbot) { }, function() { res.render('notifies', { 'server': server, - 'notifies': _.sortBy(notifies, 'time') + 'notifies': _.sortBy(notifies, 'time').reverse() }); }); }); @@ -106,7 +106,7 @@ var pages = function(dbot) { }, function() { res.render('notifies', { 'server': server, - 'notifies': _.sortBy(notifies, 'time') + 'notifies': _.sortBy(notifies, 'time').reverse() }); }); }.bind(this));