瀏覽代碼

Added filter to sort videos by name (alphabetical order)

Implements https://github.com/Chocobozzz/PeerTube/issues/5134
Poslovitch 2 年之前
父節點
當前提交
01a3c07a79
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      client/src/app/shared/shared-video-miniature/video-filters-header.component.html

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