Fix search when keyword matches operator

This commit is contained in:
Omar Roth 2019-04-14 18:37:43 -05:00
parent ca515f2eae
commit 9c8f85741c

View file

@ -731,6 +731,8 @@ get "/search" do |env|
sort = value sort = value
when "subscriptions" when "subscriptions"
subscriptions = value == "true" subscriptions = value == "true"
else
operators.delete(operator)
end end
end end