diff --git a/app/helpers/blacklight/local_blacklight_helper.rb b/app/helpers/blacklight/local_blacklight_helper.rb index ecc2e18ca6..c11b38074e 100644 --- a/app/helpers/blacklight/local_blacklight_helper.rb +++ b/app/helpers/blacklight/local_blacklight_helper.rb @@ -26,7 +26,7 @@ def facet_group_names end def url_for_document doc, options = {} - SpeedyAF::Base.find(doc[:id]) + SpeedyAF::Base.for(doc.to_h.with_indifferent_access) end def contributor_index_display args