diff options
Diffstat (limited to 'server/models/request.js')
-rw-r--r-- | server/models/request.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/models/request.js b/server/models/request.js index db6ad5409..7fdf5bd31 100644 --- a/server/models/request.js +++ b/server/models/request.js | |||
@@ -270,7 +270,7 @@ function updatePodsScore (goodPods, badPods) { | |||
270 | } | 270 | } |
271 | 271 | ||
272 | function list (callback) { | 272 | function list (callback) { |
273 | this.find({ }, { _id: 1, request: 1, to: 1 }, callback) | 273 | this.find({ }, { _id: 1, request: 1, to: 1 }).sort({ _id: 1 }).exec(callback) |
274 | } | 274 | } |
275 | 275 | ||
276 | function removeAll (callback) { | 276 | function removeAll (callback) { |