app/presenters/blacklight/document_presenter.rb in blacklight-6.3.0 vs app/presenters/blacklight/document_presenter.rb in blacklight-6.3.1

- old
+ new

@@ -125,12 +125,18 @@ end deprecation_deprecate field_values: 'Use ShowPresenter or IndexPresenter field_values instead' # @deprecated def render_field_value(values, field_config = Configuration::NullField.new) - FieldPresenter.new(@controller, @document, field_config, value: values).render + field_values(field_config, value: Array(values)) end deprecation_deprecate render_field_value: 'Use FieldPresenter instead' + + # @deprecated + def render_values(values, field_config = Configuration::NullField.new) + field_values(field_config, value: Array(values)) + end + deprecation_deprecate render_values: 'Use FieldPresenter instead' private def index_presenter @controller.index_presenter(@document)