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

+3 -1
View File
@@ -7,7 +7,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]
- Nothing worth mentioning yet.
## Added
- Sort options to channel live streams
## [0.24.6] - 2024-07-08
@@ -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)"