Sha256: 8d79e531adf6e00a2ab1740a1f0d63a5068c5c3a122693a52b935d6e39045114

Contents?: true

Size: 539 Bytes

Versions: 5

Compression:

Stored size: 539 Bytes

Contents

<%# OVERRIDE Hyrax 2.9.6 to show parent_query params if metadata is found in parent record %>

<div class="search-results-title-row">
  <h3 class="search-result-title">
  <% if params['q'].present? && document.any_highlighting? %>
    <%= link_to document.title_or_label, [document, { parent_query: params['q'] }] %></h3>
  <% elsif params['q'].present? %>
    <%= link_to document.title_or_label, [document, { query: params['q'] }] %></h3>
  <% else %>
    <%= link_to document.title_or_label, document %></h3>
  <% end %>
  </h3>
</div>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
iiif_print-3.0.1 app/views/catalog/_index_header_list_default.html.erb
iiif_print-3.0.0 app/views/catalog/_index_header_list_default.html.erb
iiif_print-2.0.1 app/views/catalog/_index_header_list_default.html.erb
iiif_print-2.0.0 app/views/catalog/_index_header_list_default.html.erb
iiif_print-1.1.0 app/views/catalog/_index_header_list_default.html.erb