aboutsummaryrefslogtreecommitdiffhomepage
path: root/server
diff options
context:
space:
mode:
Diffstat (limited to 'server')
-rw-r--r--server/models/video/video.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/models/video/video.ts b/server/models/video/video.ts
index 78789ba2c..4e175c410 100644
--- a/server/models/video/video.ts
+++ b/server/models/video/video.ts
@@ -990,8 +990,8 @@ export class VideoModel extends Model<VideoModel> {
990 } 990 }
991 }) 991 })
992 .sort((a, b) => { 992 .sort((a, b) => {
993 if (a.resolution < b.resolution) return 1 993 if (a.resolution.id < b.resolution.id) return 1
994 if (a.resolution === b.resolution) return 0 994 if (a.resolution.id === b.resolution.id) return 0
995 return -1 995 return -1
996 }) 996 })
997 997