From 9c8f85741ce406adba6d67a78e3c3d2f3501c1ca Mon Sep 17 00:00:00 2001 From: Omar Roth Date: Sun, 14 Apr 2019 18:37:43 -0500 Subject: [PATCH] Fix search when keyword matches operator --- src/invidious.cr | 2 ++ 1 file changed, 2 insertions(+) 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