Skip to content

Commit

Permalink
Merge pull request #6053 from samvera/manifest_metadata
Browse files Browse the repository at this point in the history
Fix missing metadata in IIIF manifest
  • Loading branch information
dlpierce committed May 1, 2023
2 parents 29ad74c + d37850c commit 82c097f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/presenters/hyrax/iiif_manifest_presenter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def manifest_metadata
metadata_fields.map do |field_name|
{
'label' => I18n.t("simple_form.labels.defaults.#{field_name}"),
'value' => Array(self[field_name]).map { |value| scrub(value.to_s) }
'value' => Array(send(field_name)).map { |value| scrub(value.to_s) }
}
end
end
Expand Down

0 comments on commit 82c097f

Please sign in to comment.