Added sort options to channel live streams
This commit is contained in:
1 parent
37f049867d
commit
4991c42507
2 files changed
+13
-2
No files matched your search
+3
-1
@@ -7,7 +7,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
|
|
||||||
## [Unreleased]
|
## [Unreleased]
|
||||||
|
|
||||||
- Nothing worth mentioning yet.
|
## Added
|
||||||
|
|
||||||
|
- Sort options to channel live streams
|
||||||
|
|
||||||
## [0.24.6] - 2024-07-08
|
## [0.24.6] - 2024-07-08
|
||||||
|
|
||||||
|
|||||||
@@ -200,7 +200,6 @@ function InitializeTabs()
|
|||||||
end function
|
end function
|
||||||
|
|
||||||
function InitializeSortOptions()
|
function InitializeSortOptions()
|
||||||
' TODO:P1 add sort options for streams https://github.com/iv-org/invidious/pull/4224
|
|
||||||
m.sortOptions = {
|
m.sortOptions = {
|
||||||
"channel_videos": [{
|
"channel_videos": [{
|
||||||
"id": "newest"
|
"id": "newest"
|
||||||
@@ -212,6 +211,16 @@ function InitializeSortOptions()
|
|||||||
"id": "oldest"
|
"id": "oldest"
|
||||||
"title": "Oldest"
|
"title": "Oldest"
|
||||||
}]
|
}]
|
||||||
|
"channel_streams": [{
|
||||||
|
"id": "newest"
|
||||||
|
"title": "Latest"
|
||||||
|
}, {
|
||||||
|
"id": "popular"
|
||||||
|
"title": "Popular"
|
||||||
|
}, {
|
||||||
|
"id": "oldest"
|
||||||
|
"title": "Oldest"
|
||||||
|
}]
|
||||||
"channel_playlists": [{
|
"channel_playlists": [{
|
||||||
"id": "newest"
|
"id": "newest"
|
||||||
"title": "Date added (newest)"
|
"title": "Date added (newest)"
|
||||||
|
|||||||
Reference in new issue
Block a user