Skip to content
This repository has been archived by the owner on May 28, 2018. It is now read-only.

Commit

Permalink
Reverse application ordering
Browse files Browse the repository at this point in the history
  • Loading branch information
nbrohee committed Jul 21, 2017
1 parent 750d10c commit 8b4da7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/api/application/application.controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ class ApplicationController {
return Promise.all([
Application.find(findFilter).count(),
Application.find(findFilter)
.sort({sentDate: 1})
.sort({sentDate: -1})
.skip(10 * page)
.limit(10)
])
Expand Down

0 comments on commit 8b4da7a

Please sign in to comment.