lib/lhs/pagination/page.rb in lhs-20.1.3.pre.paginationfix.3 vs lib/lhs/pagination/page.rb in lhs-20.1.4

- old
+ new

@@ -6,13 +6,9 @@ def current_page offset end - def last_page?(response_limit, requested_limit) - (offset-1 * requested_limit) + response_limit >= total - end - def next_offset(step = 1) self.class.next_offset(current_page, limit, step) end def self.next_offset(current_page, _limit, step = 1)