mirror of
https://github.com/iv-org/invidious.git
synced 2025-10-18 21:38:06 +00:00
Refactor channel tab templates
This commit is contained in:
@@ -1760,6 +1760,7 @@ get "/channel/:ucid/playlists" do |env|
|
||||
|
||||
continuation = env.params.query["continuation"]?
|
||||
|
||||
sort_options = {"last", "oldest", "newest"}
|
||||
sort_by = env.params.query["sort_by"]?.try &.downcase
|
||||
sort_by ||= "last"
|
||||
|
||||
|
Reference in New Issue
Block a user