Fix ID for search duration

This commit is contained in:
Omar Roth 2019-11-08 09:29:33 -05:00
parent 142d974641
commit e3b2bcfd06
No known key found for this signature in database
GPG Key ID: B8254FB7EC3D37F2

View File

@ -333,7 +333,7 @@ def produce_search_params(sort : String = "relevance", date : String = "", conte
when "short"
object["2:embedded"].as(Hash)["3:varint"] = 1_i64
when "long"
object["2:embedded"].as(Hash)["3:varint"] = 18_i64
object["2:embedded"].as(Hash)["3:varint"] = 2_i64
end
features.each do |feature|