Sha256: 817ebf75163293e288268edc12024f82660392cb7ed13491718964c7fbdefd40
Contents?: true
Size: 549 Bytes
Versions: 3
Compression:
Stored size: 549 Bytes
Contents
module Blacklight::SolrResponse::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 ## Methods in kaminari master that we'd like to use today. # Next page number in the collection def next_page current_page + 1 unless last_page? end # Previous page number in the collection def prev_page current_page - 1 unless first_page? end end
Version data entries
3 entries across 3 versions & 1 rubygems