Commit aba9d0e5 authored by Valery Sizov's avatar Valery Sizov

Elastic 5 update. Fix filters, they are invalid now on

parent 6f712321
......@@ -91,7 +91,7 @@ module Elastic
}
end
query_hash[:query][:bool][:filter] = { and: filters }
query_hash[:query][:bool][:filter] = filters
query_hash[:sort] = [:_score]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment