Skip to content

Commit

Permalink
most recent first
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Stewart committed Aug 25, 2016
1 parent 4a19e3e commit 642a1b9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions server.js
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,7 @@ function findUserById (i) {
function findAllGroupsByOwner (i) {
// console.log('findAllGroupsByOwner', i)
return models.Group.findAll({
order: 'id DESC',
where: {
ownerId: i
},
Expand Down

0 comments on commit 642a1b9

Please sign in to comment.