diff options
author | Poslovitch <poslovitch@bentobox.world> | 2022-10-13 11:51:09 +0000 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2022-10-24 14:28:41 +0200 |
commit | 01a3c07a7913891d4830797403b3865d53f0af61 (patch) | |
tree | 87cf613a13d6379d0a5e7dadd061487532508fe6 /client/src | |
parent | 91a4893063402d7beabb3104f9b989b8f88b6038 (diff) | |
download | PeerTube-01a3c07a7913891d4830797403b3865d53f0af61.tar.gz PeerTube-01a3c07a7913891d4830797403b3865d53f0af61.tar.zst PeerTube-01a3c07a7913891d4830797403b3865d53f0af61.zip |
Added filter to sort videos by name (alphabetical order)
Implements https://github.com/Chocobozzz/PeerTube/issues/5134
Diffstat (limited to 'client/src')
-rw-r--r-- | client/src/app/shared/shared-video-miniature/video-filters-header.component.html | 1 |
1 files changed, 1 insertions, 0 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 fe7a59bdb..72d6413ca 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 | |||
@@ -46,6 +46,7 @@ | |||
46 | <ng-option i18n value="-publishedAt">Sort by <strong>"Recently Added"</strong></ng-option> | 46 | <ng-option i18n value="-publishedAt">Sort by <strong>"Recently Added"</strong></ng-option> |
47 | <ng-option i18n value="-originallyPublishedAt">Sort by <strong>"Original Publication Date"</strong></ng-option> | 47 | <ng-option i18n value="-originallyPublishedAt">Sort by <strong>"Original Publication Date"</strong></ng-option> |
48 | 48 | ||
49 | <ng-option i18n value="name">Sort by <strong>"Name"</strong></ng-option> | ||
49 | <ng-option i18n *ngIf="isTrendingSortEnabled('most-viewed')" value="-trending">Sort by <strong>"Recent Views"</strong></ng-option> | 50 | <ng-option i18n *ngIf="isTrendingSortEnabled('most-viewed')" value="-trending">Sort by <strong>"Recent Views"</strong></ng-option> |
50 | <ng-option i18n *ngIf="isTrendingSortEnabled('hot')" value="-hot">Sort by <strong>"Hot"</strong></ng-option> | 51 | <ng-option i18n *ngIf="isTrendingSortEnabled('hot')" value="-hot">Sort by <strong>"Hot"</strong></ng-option> |
51 | <ng-option i18n *ngIf="isTrendingSortEnabled('most-liked')" value="-likes">Sort by <strong>"Likes"</strong></ng-option> | 52 | <ng-option i18n *ngIf="isTrendingSortEnabled('most-liked')" value="-likes">Sort by <strong>"Likes"</strong></ng-option> |