aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/models/request.js
diff options
context:
space:
mode:
Diffstat (limited to 'server/models/request.js')
-rw-r--r--server/models/request.js2
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
272function list (callback) { 272function 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
276function removeAll (callback) { 276function removeAll (callback) {