aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/models/request-video-event.js
diff options
context:
space:
mode:
Diffstat (limited to 'server/models/request-video-event.js')
-rw-r--r--server/models/request-video-event.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/server/models/request-video-event.js b/server/models/request-video-event.js
index ef3ebcb3a..9ebeaec90 100644
--- a/server/models/request-video-event.js
+++ b/server/models/request-video-event.js
@@ -83,6 +83,9 @@ function listWithLimitAndRandom (limitPods, limitRequestsPerPod, callback) {
83 if (podIds.length === 0) return callback(null, []) 83 if (podIds.length === 0) return callback(null, [])
84 84
85 const query = { 85 const query = {
86 order: [
87 [ 'id', 'ASC' ]
88 ],
86 include: [ 89 include: [
87 { 90 {
88 model: self.sequelize.models.Video, 91 model: self.sequelize.models.Video,