MrDys / blacklight

Blacklight Plugin
http://projectblacklight.org/
Other
1 stars 1 forks source link

Deprecation warning calling RSolr::Pagination #533

Closed MrDys closed 12 years ago

MrDys commented 12 years ago

CODEBASE-353: is https://github.com/projectblacklight/blacklight/blob/master/app/helpers/catalog_helper.rb#L21 causing the deprecation warning from rSolr?

DEPRECATION WARNING: RSolr::Pagination / pagination functionality will be removed in 1.1.0

It looks like RSolr::Pagination::Client#paginate was replaced with:

request_context = build_paginated_request page, per_page, path, opts execute request_context

see: http://rubydoc.info/gems/rsolr/1.0.2/RSolr/Pagination/Client

MrDys commented 12 years ago

Original reporter: justin

MrDys commented 12 years ago

cbeer: Blacklight is not using any of the deprecated rsolr pagination methods (to my knowledge). RSolr/RSolr::Ext are just providing unnecessary deprecation warnings (see https://github.com/mwmitchell/rsolr-ext/issues/15)