Sha256: 661901904c8535a1a195cd1b42f8d2f45cee04bfc72db00fa0650df88a7b3745
Contents?: true
Size: 594 Bytes
Versions: 33
Compression:
Stored size: 594 Bytes
Contents
# frozen_string_literal: true module Blacklight::Solr::Response::PaginationMethods include Kaminari::PageScopeMethods include Kaminari::ConfigurationMethods::ClassMethods def limit_value #:nodoc: rows end def offset_value #:nodoc: start end def total_count #:nodoc: total end ## # Should return response documents size, not hash size def size total_count end ## # Meant to have the same signature as Kaminari::PaginatableArray#entry_name def entry_name(options) I18n.t('blacklight.entry_name.default').pluralize(options[:count]) end end
Version data entries
33 entries across 33 versions & 1 rubygems