From 642a1b9f4c73cb72fb7613554daa6c186994f369 Mon Sep 17 00:00:00 2001 From: Michael Stewart Date: Thu, 25 Aug 2016 08:48:15 -0400 Subject: [PATCH] most recent first --- server.js | 1 + 1 file changed, 1 insertion(+) diff --git a/server.js b/server.js index b39d338..ec6bcd6 100644 --- a/server.js +++ b/server.js @@ -203,6 +203,7 @@ function findUserById (i) { function findAllGroupsByOwner (i) { // console.log('findAllGroupsByOwner', i) return models.Group.findAll({ + order: 'id DESC', where: { ownerId: i },