diff --git a/app/helpers/search_helper.rb b/app/helpers/search_helper.rb index 82c69c4e..e57d6eb8 100644 --- a/app/helpers/search_helper.rb +++ b/app/helpers/search_helper.rb @@ -36,10 +36,12 @@ def link_to_tab(target, label = nil) link_to tab_label, results_path(params.permit(:q, :per_page, :booleanType, :tab).merge(tab: clean_target)), aria: { current: 'page' }, class: 'active tab-link', + role: 'button', data: { turbo_frame: 'search-results', turbo_action: 'advance' } else link_to tab_label, results_path(params.permit(:q, :per_page, :booleanType, :tab).merge(tab: clean_target)), class: 'tab-link', + role: 'button', data: { turbo_frame: 'search-results', turbo_action: 'advance' } end end diff --git a/app/views/search/_result.html.erb b/app/views/search/_result.html.erb index d8040e59..47b913fa 100644 --- a/app/views/search/_result.html.erb +++ b/app/views/search/_result.html.erb @@ -4,7 +4,6 @@

<%= result[:eyebrow] %>

<% end %>

- Title: <%= link_to_result(result) %>

diff --git a/app/views/search/_result_geo.html.erb b/app/views/search/_result_geo.html.erb index 6480185b..e5340d00 100644 --- a/app/views/search/_result_geo.html.erb +++ b/app/views/search/_result_geo.html.erb @@ -1,7 +1,7 @@
  • - Title: <%= link_to(result_geo[:title], record_path(result_geo[:identifier])) %> + <%= link_to(result_geo[:title], record_path(result_geo[:identifier])) %>

    diff --git a/app/views/search/_result_primo.html.erb b/app/views/search/_result_primo.html.erb index a5493346..a4af21f6 100644 --- a/app/views/search/_result_primo.html.erb +++ b/app/views/search/_result_primo.html.erb @@ -4,7 +4,6 @@

    <%= result[:eyebrow] %>

    <% end %>

    - Title: <% if result[:links]&.find { |link| link['kind'] == 'full record' } %> <%= link_to(result[:title], result[:links].find { |link| link['kind'] == 'full record' }['url']) %> <% else %> diff --git a/app/views/tacos/analyze.html.erb b/app/views/tacos/analyze.html.erb index 70ef9a7a..938cb9c0 100644 --- a/app/views/tacos/analyze.html.erb +++ b/app/views/tacos/analyze.html.erb @@ -1,5 +1,6 @@ <% if @suggestions.present? && !Feature.enabled?(:geodata) %>
    +

    Suggested resource