diff options
| author | Omar Roth <omarroth@hotmail.com> | 2018-07-20 11:24:13 -0500 |
|---|---|---|
| committer | Omar Roth <omarroth@hotmail.com> | 2018-07-20 11:24:13 -0500 |
| commit | e180cf70f8e0852713d52a1e04c61106474447e5 (patch) | |
| tree | 16dead39c89055b5a0e96bfb54d9e325167ada51 | |
| parent | 6135006b26dc29099e63489a1738d59cb2c2eac3 (diff) | |
| download | invidious-e180cf70f8e0852713d52a1e04c61106474447e5.tar.gz invidious-e180cf70f8e0852713d52a1e04c61106474447e5.tar.bz2 invidious-e180cf70f8e0852713d52a1e04c61106474447e5.zip | |
Fix sort options for Atom feed
| -rw-r--r-- | src/invidious.cr | 6 |
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 |
