diff options
author | Chocobozzz <me@florianbigard.com> | 2022-06-03 14:04:52 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-06-03 14:04:52 +0200 |
commit | 010382b6037cff5d0ed16fa8b158691439fac9b7 (patch) | |
tree | d1c7fd25525fb1d87f3f9b851c5dcbc772cf6720 /client/src | |
parent | c8fdfab0e36cc7324c61710009bf334e836485d9 (diff) | |
download | PeerTube-010382b6037cff5d0ed16fa8b158691439fac9b7.tar.gz PeerTube-010382b6037cff5d0ed16fa8b158691439fac9b7.tar.zst PeerTube-010382b6037cff5d0ed16fa8b158691439fac9b7.zip |
Completely remove best default trending algorithm
Diffstat (limited to 'client/src')
-rw-r--r-- | client/src/app/+videos/video-list/videos-list-common-page.component.ts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/client/src/app/+videos/video-list/videos-list-common-page.component.ts b/client/src/app/+videos/video-list/videos-list-common-page.component.ts index 72c7e1ef6..d2782036b 100644 --- a/client/src/app/+videos/video-list/videos-list-common-page.component.ts +++ b/client/src/app/+videos/video-list/videos-list-common-page.component.ts | |||
@@ -173,6 +173,10 @@ export class VideosListCommonPageComponent implements OnInit, OnDestroy, Disable | |||
173 | case 'most-liked': | 173 | case 'most-liked': |
174 | return '-likes' | 174 | return '-likes' |
175 | 175 | ||
176 | // We'll automatically apply "best" sort if using "hot" sort with a logged user | ||
177 | case 'best': | ||
178 | return '-hot' | ||
179 | |||
176 | default: | 180 | default: |
177 | return '-' + algorithm as VideoSortField | 181 | return '-' + algorithm as VideoSortField |
178 | } | 182 | } |