Skip to content

Commit

Permalink
🐛 Use non-deprecated and non-removed method
Browse files Browse the repository at this point in the history
The `member_presenters_for` was removed in
samvera/hyrax@eeb3c3e;
the deprecation advice prior to removal was to use `member_presenters`

Related to:

- samvera/hyrax#6203
  • Loading branch information
jeremyf committed Jan 8, 2024
1 parent 0fbde50 commit f9dc6bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/services/iiif_print/tenant_config.rb
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ def members_include_iiif_viewable?
def iiif_presentable_member_presenters
if TenantConfig.use_iiif_print?
presentable_member_ids = Array.wrap(solr_document.try(:file_set_ids) || solr_document.try(:[], 'file_set_ids_ssim'))
member_presenters_for(presentable_member_ids)
member_presenters(presentable_member_ids)
else
file_set_presenters
end
Expand Down

0 comments on commit f9dc6bd

Please sign in to comment.