lib/search_flip/response.rb in search_flip-2.0.0.beta7 vs lib/search_flip/response.rb in search_flip-2.0.0.beta8

- old
+ new

@@ -38,10 +38,10 @@ # # => 13 # # @return [Fixnum] The total number of results def total_entries - hits["total"] + hits["total"].is_a?(Hash) ? hits["total"]["value"] : hits["total"] end alias_method :total_count, :total_entries # Returns whether or not the current page is the first page.