module Blacklight::Solr::Response::PaginationMethods

Public Instance Methods

entry_name(options) click to toggle source

Meant to have the same signature as Kaminari::PaginatableArray#entry_name

# File lib/blacklight/solr/response/pagination_methods.rb, line 27
def entry_name(options)
  I18n.t('blacklight.entry_name.default', count: options[:count])
end
size() click to toggle source

Should return response documents size, not hash size

# File lib/blacklight/solr/response/pagination_methods.rb, line 21
def size
  total_count
end