app/presenters/blacklight/document_presenter.rb in blacklight-7.9.0 vs app/presenters/blacklight/document_presenter.rb in blacklight-7.10.0

- old
+ new

@@ -91,9 +91,10 @@ field_presenter(field_config).values end deprecation_deprecate retrieve_values: 'Use FieldPresenter#values' def field_presenter(field_config, options = {}) - FieldPresenter.new(view_context, document, field_config, options) + presenter_class = field_config.presenter || Blacklight::FieldPresenter + presenter_class.new(view_context, document, field_config, options) end end end