Fix search when keyword matches operator

pull/366/head
Omar Roth 2019-04-14 18:37:43 -05:00
rodzic ca515f2eae
commit 9c8f85741c
1 zmienionych plików z 2 dodań i 0 usunięć

Wyświetl plik

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