diff options
Diffstat (limited to 'client/src/app/+videos')
-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 | } |