diff --git a/app/helpers/facet_helper.rb b/app/helpers/facet_helper.rb
index eba05c2c3..ad27de770 100644
--- a/app/helpers/facet_helper.rb
+++ b/app/helpers/facet_helper.rb
@@ -3,12 +3,13 @@ def campus_label(value)
CampusService.find(value)[:term] || ''
end
- # imported from hyrax to prep campus-specific version
+ # campus-specific version of link_to_facet
# @param item [Object]
# @param field [String]
# @return [ActiveSupport::SafeBuffer] the html_safe link
- def link_to_facet(item, field)
+ def link_to_campus_facet(item, field)
path = main_app.search_catalog_path(search_state.add_facet_params_and_redirect(field, item))
+ item = campus_label(item)
link_to(item, path)
end
end
diff --git a/app/views/records/show_fields/_campus.html.erb b/app/views/records/show_fields/_campus.html.erb
index 0a602f02d..ddacf791f 100644
--- a/app/views/records/show_fields/_campus.html.erb
+++ b/app/views/records/show_fields/_campus.html.erb
@@ -1 +1 @@
-<%= link_to_facet(record.campus, Solrizer.solr_name("campus", :facetable)) %>
+<%= link_to_campus_facet(record.campus, Solrizer.solr_name("campus", :facetable)) %>