mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2022-03-16.git
synced 2024-08-15 00:53:18 +00:00
Fallback on ucid for channel search when author contains hyphen
This commit is contained in:
parent
06aa1bb90f
commit
898b768b30
1 changed files with 1 additions and 1 deletions
|
@ -2192,7 +2192,7 @@ get "/channel/:ucid" do |env|
|
|||
end
|
||||
|
||||
if !auto_generated
|
||||
if author.includes? " "
|
||||
if author.includes?(" ") || author.includes?("-")
|
||||
env.set "search", "channel:#{ucid} "
|
||||
else
|
||||
env.set "search", "channel:#{author.downcase} "
|
||||
|
|
Loading…
Reference in a new issue