Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

🐛 Use configured class instead of hard-coded #6717

Merged
merged 2 commits into from
Mar 11, 2024

Commits on Feb 23, 2024

  1. 🐛 Use configured class instead of hard-coded

    The baseline configuration for the `Hyrax::PcdmMemberPresenterFactory`
    allows for us to specify the `file_presenter_class` and the
    `work_presenter_class`.  However, in the case of `presenter_for` we were
    not leveraging that configurability.
    
    This commit rectifies that behavior.
    
    Tagging along with this commit is a minor performance improvement.
    Namely, check a simple boolean before we begin checking elements that
    might require additional queries and/or loading additional objects.
    jeremyf committed Feb 23, 2024
    Configuration menu
    Copy the full SHA
    c5db547 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    bd19068 View commit details
    Browse the repository at this point in the history