Add minor convenience features to search

This commit is contained in:
Omar Roth 2018-09-20 10:16:10 -05:00
parent cefb5d679f
commit 687013c1b9
2 changed files with 2 additions and 2 deletions

View file

@ -443,7 +443,7 @@ get "/search" do |env|
operators = query.split(" ").select { |a| a.match(/\w+:[\w,]+/) }
operators.each do |operator|
key, value = operator.split(":")
key, value = operator.downcase.split(":")
case key
when "channel", "user"