summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSamantaz Fox <coding@samantaz.fr>2023-06-21 22:28:15 +0200
committerSamantaz Fox <coding@samantaz.fr>2023-06-21 22:28:15 +0200
commit75c4c0b349cfa7bb9904824b268bc930911399da (patch)
tree1a5a6306e3102351c5a559034977899614a9a5e0
parent93559cbdd59276244ac16be24e073aab6941338d (diff)
parent16b8b6034fed818bc05fbdea80b50bb04e1055f7 (diff)
downloadinvidious-75c4c0b349cfa7bb9904824b268bc930911399da.tar.gz
invidious-75c4c0b349cfa7bb9904824b268bc930911399da.tar.bz2
invidious-75c4c0b349cfa7bb9904824b268bc930911399da.zip
Channels: Fix "sort by oldest" (#3931)
-rw-r--r--src/invidious/channels/videos.cr2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/invidious/channels/videos.cr b/src/invidious/channels/videos.cr
index 12ed4a7d..beb86e08 100644
--- a/src/invidious/channels/videos.cr
+++ b/src/invidious/channels/videos.cr
@@ -20,7 +20,7 @@ def produce_channel_videos_continuation(ucid, page = 1, auto_generated = nil, so
case sort_by
when "newest" then 1_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"
end