lib/blacklight/solr/facet_paginator.rb in blacklight-5.9.4 vs lib/blacklight/solr/facet_paginator.rb in blacklight-5.10.0
- old
+ new
@@ -71,16 +71,16 @@
#@deprecated
def has_next?
!last_page?
end
- deprecation_deprecate :has_next?
+ deprecation_deprecate :has_next? => "use #!last_page?"
#@deprecated
def has_previous?
!first_page?
end
- deprecation_deprecate :has_next?
+ deprecation_deprecate :has_next? => "use #!first_page?"
def last_page?
limit.nil? || total_count <= limit
end