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

Commit

Permalink
Sort by sentDate on AdminPage
Browse files Browse the repository at this point in the history
  • Loading branch information
nbrohee committed Jul 21, 2017
1 parent 86ae253 commit e8f0711
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions server/api/application/application.controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ class ApplicationController {
return Promise.all([
Application.find(findFilter).count(),
Application.find(findFilter)
.sort({sentDate: 1})
.skip(10 * page)
.limit(10)
])
Expand Down

0 comments on commit e8f0711

Please sign in to comment.