mirror of
https://github.com/iv-org/invidious.git
synced 2024-08-30 18:23:25 +00:00
Channels: Fix "sort by oldest" (#3931)
This commit is contained in:
commit
75c4c0b349
@ -20,7 +20,7 @@ def produce_channel_videos_continuation(ucid, page = 1, auto_generated = nil, so
|
|||||||
case sort_by
|
case sort_by
|
||||||
when "newest" then 1_i64
|
when "newest" then 1_i64
|
||||||
when "popular" then 2_i64
|
when "popular" then 2_i64
|
||||||
when "oldest" then 3_i64 # Broken as of 10/2022 :c
|
when "oldest" then 4_i64
|
||||||
else 1_i64 # Fallback to "newest"
|
else 1_i64 # Fallback to "newest"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user