mirror of
https://git.nadeko.net/Fijxu/invidious.git
synced 2025-12-24 11:58:50 +00:00
Always use ucid for channel search
This commit is contained in:
@@ -2521,11 +2521,7 @@ get "/channel/:ucid" do |env|
|
||||
end
|
||||
|
||||
if !auto_generated
|
||||
if author.includes?(" ") || author.includes?("-")
|
||||
env.set "search", "channel:#{ucid} "
|
||||
else
|
||||
env.set "search", "channel:#{author.downcase} "
|
||||
end
|
||||
env.set "search", "channel:#{ucid} "
|
||||
end
|
||||
|
||||
if auto_generated
|
||||
|
||||
Reference in New Issue
Block a user