Skip to content

Invidious is an alternative front-end to YouTube

Fix search when keyword matches operator

Omar Roth9c8f85741ce4
diff --git a/src/invidious.cr b/src/invidious.cr
index d1388288..6e4ee891 100644
--- a/src/invidious.cr
+++ b/src/invidious.cr
@@ -731,6 +731,8 @@ get "/search" do |env|
sort = value
when "subscriptions"
subscriptions = value == "true"
+ else
+ operators.delete(operator)
end
end