Skip to content

Commit 5487dff

Browse files
authored
Merge pull request #349 from MITLibraries/use-354-fix-frbr
Update Primo result partial to use new FRBR property
2 parents 0fa7dc3 + 5920a74 commit 5487dff

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/views/search/_result_primo.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
</h3>
1414

1515
<%# FRBR indicator: show a small callout and link to the Primo record %>
16-
<% if result[:frbrized] %>
16+
<% if result[:dedup_record] %>
1717
<div class="frbr-callout">
1818
<span>Multiple versions found.</span>
1919
<% frbr_link = result[:links]&.find { |link| link['kind'].to_s.downcase.include?('full') && link['kind'].to_s.downcase.include?('record') }&.dig('url') %>

0 commit comments

Comments
 (0)