Added sort options to channel live streams

This commit is contained in:
Brahim Hadriche committed 2024-07-10 23:11:34 -04:00
1 parent 37f049867d
commit 4991c42507
2 files changed
+13 -2

No files matched your search

@@ -200,7 +200,6 @@ function InitializeTabs()
end function
function InitializeSortOptions()
' TODO:P1 add sort options for streams https://github.com/iv-org/invidious/pull/4224
m.sortOptions = {
"channel_videos": [{
"id": "newest"
@@ -212,6 +211,16 @@ function InitializeSortOptions()
"id": "oldest"
"title": "Oldest"
}]
"channel_streams": [{
"id": "newest"
"title": "Latest"
}, {
"id": "popular"
"title": "Popular"
}, {
"id": "oldest"
"title": "Oldest"
}]
"channel_playlists": [{
"id": "newest"
"title": "Date added (newest)"