app/renderers/hyrax/renderers/linked_attribute_renderer.rb in hyrax-2.1.0.rc3 vs app/renderers/hyrax/renderers/linked_attribute_renderer.rb in hyrax-2.1.0.rc4
- old
+ new
@@ -7,10 +7,10 @@
link_to(ERB::Util.h(value), search_path(value))
end
def search_path(value)
Rails.application.routes.url_helpers.search_catalog_path(
- search_field: search_field, q: ERB::Util.h(value)
+ search_field: search_field, q: ERB::Util.h(value), locale: I18n.locale
)
end
def search_field
options.fetch(:search_field, field)