summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/invidious.cr6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/invidious.cr b/src/invidious.cr
index 954f13e6..80458a5c 100644
--- a/src/invidious.cr
+++ b/src/invidious.cr
@@ -1022,11 +1022,11 @@ get "/feed/private" do |env|
case sort
when "alphabetically"
videos.sort_by! { |video| video.title }
- when "alphabetically - reverse"
+ when "reverse_alphabetically"
videos.sort_by! { |video| video.title }.reverse!
- when "channel name"
+ when "channel_name"
videos.sort_by! { |video| video.author }
- when "channel name - reverse"
+ when "reverse_channel_name"
videos.sort_by! { |video| video.author }.reverse!
end