Commit 6ae695693925698b9945df9475f737fc8b774465
1 parent
7de82ddb
Exists in
master
and in
17 other branches
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,7 +441,7 @@ module Searchkick | ||
441 | # v | 441 | # v |
442 | # end | 442 | # end |
443 | 443 | ||
444 | - # (where[:or] ||= []) << index_type_or | 444 | + # where[:or] = Array(where[:or]) + [index_type_or] |
445 | # end | 445 | # end |
446 | 446 | ||
447 | # start everything as efficient filters | 447 | # start everything as efficient filters |