app/presenters/blacklight/document_presenter.rb in blacklight-5.16.3 vs app/presenters/blacklight/document_presenter.rb in blacklight-5.16.4
- old
+ new
@@ -190,10 +190,10 @@
end
# rendering values
case
when (field_config and field_config.helper_method)
- @controller.send(field_config.helper_method, options.merge(:document => @document, :field => field, :value => value))
+ @controller.send(field_config.helper_method, options.merge(document: @document, field: field, config: field_config, value: value))
when (field_config and field_config.link_to_search)
link_field = if field_config.link_to_search === true
field_config.key
else
field_config.link_to_search