aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/videos/shared
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2017-03-08 21:52:25 +0100
committerChocobozzz <florian.bigard@gmail.com>2017-03-08 21:52:25 +0100
commit86e83939869976e9b4dfa6dc9d3785a284bd598c (patch)
tree253fecfc9b8002aaedfc1ad8e53c6d1cf850564e /client/src/app/videos/shared
parentd38b82810638b9f664c9016fac2684454c273a77 (diff)
downloadPeerTube-86e83939869976e9b4dfa6dc9d3785a284bd598c.tar.gz
PeerTube-86e83939869976e9b4dfa6dc9d3785a284bd598c.tar.zst
PeerTube-86e83939869976e9b4dfa6dc9d3785a284bd598c.zip
Allow to sort by likes
Diffstat (limited to 'client/src/app/videos/shared')
-rw-r--r--client/src/app/videos/shared/sort-field.type.ts5
1 files changed, 4 insertions, 1 deletions
diff --git a/client/src/app/videos/shared/sort-field.type.ts b/client/src/app/videos/shared/sort-field.type.ts
index 7bda3112a..6cc598d8b 100644
--- a/client/src/app/videos/shared/sort-field.type.ts
+++ b/client/src/app/videos/shared/sort-field.type.ts
@@ -1,3 +1,6 @@
1export type SortField = 'name' | '-name' 1export type SortField = 'name' | '-name'
2 | 'duration' | '-duration' 2 | 'duration' | '-duration'
3 | 'createdAt' | '-createdAt'; 3 | 'createdAt' | '-createdAt'
4 | 'views' | '-views'
5 | 'likes' | '-likes';
6