Browse Source

Added filter to sort videos by name (alphabetical order)

Implements https://github.com/Chocobozzz/PeerTube/issues/5134
Poslovitch 2 years ago
parent
commit
01a3c07a79

+ 1 - 0
client/src/app/shared/shared-video-miniature/video-filters-header.component.html

@@ -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>