summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSamantaz Fox <coding@samantaz.fr>2023-06-21 21:41:53 +0200
committerSamantaz Fox <coding@samantaz.fr>2023-06-21 21:41:53 +0200
commit16b8b6034fed818bc05fbdea80b50bb04e1055f7 (patch)
tree1a5a6306e3102351c5a559034977899614a9a5e0 /src
parent93559cbdd59276244ac16be24e073aab6941338d (diff)
downloadinvidious-16b8b6034fed818bc05fbdea80b50bb04e1055f7.tar.gz
invidious-16b8b6034fed818bc05fbdea80b50bb04e1055f7.tar.bz2
invidious-16b8b6034fed818bc05fbdea80b50bb04e1055f7.zip
Channels: Use new ctoken value for "sort by oldest"
Diffstat (limited to 'src')
-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