Added filter to sort videos by name (alphabetical order)

Implements https://github.com/Chocobozzz/PeerTube/issues/5134
This commit is contained in:
Poslovitch 2022-10-13 11:51:09 +00:00 committed by Chocobozzz
parent 91a4893063
commit 01a3c07a79
1 changed files with 1 additions and 0 deletions

View File

@ -46,6 +46,7 @@
<ng-option i18n value="-publishedAt">Sort by <strong>"Recently Added"</strong></ng-option>
<ng-option i18n value="-originallyPublishedAt">Sort by <strong>"Original Publication Date"</strong></ng-option>
<ng-option i18n value="name">Sort by <strong>"Name"</strong></ng-option>
<ng-option i18n *ngIf="isTrendingSortEnabled('most-viewed')" value="-trending">Sort by <strong>"Recent Views"</strong></ng-option>
<ng-option i18n *ngIf="isTrendingSortEnabled('hot')" value="-hot">Sort by <strong>"Hot"</strong></ng-option>
<ng-option i18n *ngIf="isTrendingSortEnabled('most-liked')" value="-likes">Sort by <strong>"Likes"</strong></ng-option>