lib/gummi/repository_layer/repository/result.rb in gummi-0.3.10 vs lib/gummi/repository_layer/repository/result.rb in gummi-0.3.11

- old
+ new

@@ -20,10 +20,12 @@ search_result.facets.each do |(name, content)| case content['_type'] when 'terms' result[name] = Hash[content.terms.map(&:values)] when 'statistical' - result[name] = Hash[content.map(&:values)] + content.each do |k, v| + result[k] = v + end end end Hashie::Mash.new result end end