diff options
author | Chocobozzz <me@florianbigard.com> | 2022-04-15 15:07:20 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-04-15 15:07:20 +0200 |
commit | 2b0d17ccf46cfdba4103b7287f0dadf289ad4faf (patch) | |
tree | 3b006eff6a32126d8c260f99f561e2ac1901e4d1 /client/src/app/shared/shared-video-miniature/video-filters-header.component.html | |
parent | d09ed46e71b78b4874de4afabefa2f9453c5894d (diff) | |
download | PeerTube-2b0d17ccf46cfdba4103b7287f0dadf289ad4faf.tar.gz PeerTube-2b0d17ccf46cfdba4103b7287f0dadf289ad4faf.tar.zst PeerTube-2b0d17ccf46cfdba4103b7287f0dadf289ad4faf.zip |
Reduce videos sort complexity
Automatically use best sort if user is logged in and chose hot algorithm
Diffstat (limited to 'client/src/app/shared/shared-video-miniature/video-filters-header.component.html')
-rw-r--r-- | client/src/app/shared/shared-video-miniature/video-filters-header.component.html | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/client/src/app/shared/shared-video-miniature/video-filters-header.component.html b/client/src/app/shared/shared-video-miniature/video-filters-header.component.html index 7f5692dd4..fc34b1b29 100644 --- a/client/src/app/shared/shared-video-miniature/video-filters-header.component.html +++ b/client/src/app/shared/shared-video-miniature/video-filters-header.component.html | |||
@@ -47,7 +47,6 @@ | |||
47 | 47 | ||
48 | <ng-option i18n *ngIf="isTrendingSortEnabled('most-viewed')" value="-trending">Sort by <strong>"Recent Views"</strong></ng-option> | 48 | <ng-option i18n *ngIf="isTrendingSortEnabled('most-viewed')" value="-trending">Sort by <strong>"Recent Views"</strong></ng-option> |
49 | <ng-option i18n *ngIf="isTrendingSortEnabled('hot')" value="-hot">Sort by <strong>"Hot"</strong></ng-option> | 49 | <ng-option i18n *ngIf="isTrendingSortEnabled('hot')" value="-hot">Sort by <strong>"Hot"</strong></ng-option> |
50 | <ng-option i18n *ngIf="isTrendingSortEnabled('best')" value="-best">Sort by <strong>"Best"</strong></ng-option> | ||
51 | <ng-option i18n *ngIf="isTrendingSortEnabled('most-liked')" value="-likes">Sort by <strong>"Likes"</strong></ng-option> | 50 | <ng-option i18n *ngIf="isTrendingSortEnabled('most-liked')" value="-likes">Sort by <strong>"Likes"</strong></ng-option> |
52 | </ng-select> | 51 | </ng-select> |
53 | 52 | ||