-
Notifications
You must be signed in to change notification settings - Fork 125
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Give IIIF Manifests Some Wings #6102
Conversation
Hyrax::SolrDocument::OrderedMembers.decorate(model).ordered_member_ids | ||
end | ||
m = model.is_a?(::SolrDocument) ? model.hydra_model : model | ||
m.class < Hyrax::Resource ? Array(model.member_ids) : Hyrax::SolrDocument::OrderedMembers.decorate(model).ordered_member_ids |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what is m.class < Hyrax::Resource
doing?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Checks if the model's class is a subclass of Hyrax::Resource. documentation
Co-authored-by: Alisha Evans <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good and less work than I expected!
the investigation was deep but the answer was simple =-) |
Fixes
Fixes #5474 , #5543
Summary
Adds needed search parameters and RIIIF settings to get IIIF manifests and UV images to display properly when using Valkyrie.
Guidance for testing, such as acceptance criteria or new user interface behaviors:
@samvera/hyrax-code-reviewers