Commit 6ae695693925698b9945df9475f737fc8b774465

Authored by Andrew Kane
1 parent 7de82ddb

Don't modify in place [skip ci]

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
lib/searchkick/query.rb
... ... @@ -441,7 +441,7 @@ module Searchkick
441 441 # v
442 442 # end
443 443  
444   - # (where[:or] ||= []) << index_type_or
  444 + # where[:or] = Array(where[:or]) + [index_type_or]
445 445 # end
446 446  
447 447 # start everything as efficient filters
... ...