Channels: Fix "sort by oldest" (#3931)

This commit is contained in:
Samantaz Fox 2023-06-21 22:28:15 +02:00
commit 75c4c0b349
No known key found for this signature in database
GPG key ID: F42821059186176E

View file

@ -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