mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-03-13 22:49:51 -04:00
Put back the sort for the leaderboard handler.
This commit is contained in:
parent
8431fd1e57
commit
eee4934d1b
1 changed files with 2 additions and 1 deletions
|
@ -136,10 +136,11 @@ LevelHandler = class LevelHandler extends Handler
|
|||
'creatorName'
|
||||
'creator'
|
||||
]
|
||||
|
||||
|
||||
query = Session
|
||||
.find(sessionsQueryParameters)
|
||||
.limit(req.query.limit)
|
||||
.sort(sortParameters)
|
||||
.select(selectProperties.join ' ')
|
||||
|
||||
query.exec (err, resultSessions) =>
|
||||
|
|
Loading…
Reference in a new issue