aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared
diff options
context:
space:
mode:
Diffstat (limited to 'shared')
-rw-r--r--shared/extra-utils/server/config.ts2
-rw-r--r--shared/models/videos/video-sort-field.type.ts3
2 files changed, 3 insertions, 2 deletions
diff --git a/shared/extra-utils/server/config.ts b/shared/extra-utils/server/config.ts
index 8998da8b6..db5a473ca 100644
--- a/shared/extra-utils/server/config.ts
+++ b/shared/extra-utils/server/config.ts
@@ -164,7 +164,7 @@ function updateCustomSubConfig (url: string, token: string, newConfig: DeepParti
164 trending: { 164 trending: {
165 videos: { 165 videos: {
166 algorithms: { 166 algorithms: {
167 enabled: [ 'hot', 'most-viewed', 'most-liked' ], 167 enabled: [ 'best', 'hot', 'most-viewed', 'most-liked' ],
168 default: 'hot' 168 default: 'hot'
169 } 169 }
170 } 170 }
diff --git a/shared/models/videos/video-sort-field.type.ts b/shared/models/videos/video-sort-field.type.ts
index 97687f84b..5073848b8 100644
--- a/shared/models/videos/video-sort-field.type.ts
+++ b/shared/models/videos/video-sort-field.type.ts
@@ -8,4 +8,5 @@ export type VideoSortField =
8 8
9 // trending sorts 9 // trending sorts
10 'trending' | '-trending' | 10 'trending' | '-trending' |
11 'hot' | '-hot' 11 'hot' | '-hot' |
12 'best' | '-best'