projects
/
oweals
/
peertube.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix search results on mobile
[oweals/peertube.git]
/
client
/
src
/
app
/
shared
/
video
/
sort-field.type.ts
diff --git
a/client/src/app/shared/video/sort-field.type.ts
b/client/src/app/shared/video/sort-field.type.ts
index 776f360f8de43f838f9dc6f44f6a317da2b294e1..d1088d24495e35f3cbd8bac0f88ce8dc34ef1867 100644
(file)
--- a/
client/src/app/shared/video/sort-field.type.ts
+++ b/
client/src/app/shared/video/sort-field.type.ts
@@
-1,5
+1,7
@@
-export type SortField = 'name' | '-name'
+export type
Video
SortField = 'name' | '-name'
| 'duration' | '-duration'
| 'duration' | '-duration'
+ | 'publishedAt' | '-publishedAt'
| 'createdAt' | '-createdAt'
| 'views' | '-views'
| 'likes' | '-likes'
| 'createdAt' | '-createdAt'
| 'views' | '-views'
| 'likes' | '-likes'
+ | 'trending' | '-trending'