Fix search when keyword matches operator
This commit is contained in:
parent
ca515f2eae
commit
9c8f85741c
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue