From 9c1c968079ea0f5f63b8605a34e46f0a52d54f0a Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Fri, 8 Aug 2025 23:19:23 +0200 Subject: shared_searches: Remove underscores on authors MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Miquel Sabaté Solà --- app/views/shared_searches/show.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/shared_searches/show.html.erb b/app/views/shared_searches/show.html.erb index ed605bd..30ea3f5 100644 --- a/app/views/shared_searches/show.html.erb +++ b/app/views/shared_searches/show.html.erb @@ -16,7 +16,7 @@ <% if res.is_a? Thing %> <%= res.title %>
-
<%= I18n.t('activerecord.attributes.thing.authors') %>: <%= authors_or_editors(res) %>
+
<%= I18n.t('activerecord.attributes.thing.authors') %>: <%= authors_or_editors(res).gsub('_', '') %>
<%= I18n.t('activerecord.attributes.thing.publisher') %>: <%= string_maybe(res.publisher) %>
<%= I18n.t('activerecord.attributes.thing.year') %>: <%= string_maybe(res.year) %>
<%= I18n.t('activerecord.attributes.thing.kind') %>: <%= I18n.t("things.kind.#{res.kind}") %>
-- cgit v1.2.3