lib/rsolr-ext/request/queryable.rb in mwmitchell-rsolr-ext-0.7.10 vs lib/rsolr-ext/request/queryable.rb in mwmitchell-rsolr-ext-0.7.11

- old
+ new

@@ -30,9 +30,14 @@ end.flatten when Hash return value.collect do |(k,v)| if v.is_a?(Range) "#{k}:#{build_range(v)}" + # If the value is an array, we want the same param, multiple times (not a query join) + elsif v.is_a?(Array) + v.collect do |vv| + "#{k}:#{build_query(vv, quote_string)}" + end else "#{k}:#{build_query(v, quote_string)}" end end.flatten end \ No newline at end of file