Commit 101926f1af2c82ea9573da013693ad5a0c64cb93
1 parent
208ee03a
Exists in
master
and in
28 other branches
Fix filter_queries in acts_as_solr
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
vendor/plugins/acts_as_solr_reloaded/lib/acts_as_solr/parser_methods.rb
... | ... | @@ -35,7 +35,7 @@ module ActsAsSolr #:nodoc: |
35 | 35 | query = add_relevance query, options[:relevance] |
36 | 36 | |
37 | 37 | raise "Expecting and array of strings for :filter_queries" unless options[:filter_queries].nil? or options[:filter_queries].kind_of?(Array) |
38 | - query_options[:filter_queries] = replace_types([*options[:filter_queries]].collect{|k| "#{k.dup.sub!(/ *: */,"_t:")}"}) if options[:filter_queries] | |
38 | + query_options[:filter_queries] += replace_types([*options[:filter_queries]].collect{|k| "#{k.dup.sub!(/ *: */,"_t:")}"}) if options[:filter_queries] | |
39 | 39 | |
40 | 40 | # first steps on the facet parameter processing |
41 | 41 | if options[:facets] | ... | ... |