Skip to content
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

add Hyrax::FileSet to FileSetSearchBuilder model search filter #6083

Merged
merged 1 commit into from
Jun 1, 2023

Commits on Jun 1, 2023

  1. add Hyrax::FileSet to FileSetSearchBuilder model search filter

    When running a Valkyrie-based Hyrax app, the model is indexed in Solr as "Hyrax::FileSet" (`has_model_ssim:"Hyrax::FileSet"`). In an ActiveFedora-based Hyrax app, by contrast, the model is indexed as just "FileSet" (`has_model_ssim:FileSet`).
    
    Before this change, we were only handling the latter in FileSet-related searches. This was breaking the FileSet show page in Valkyrie-based Hyrax apps since the FileSet being searched for was being filtered out.
    
    This change adds "Hyrax::FileSet" to the model search filter so that it works for both kinds of Hyrax apps.
    bkiahstroud committed Jun 1, 2023
    Configuration menu
    Copy the full SHA
    f0a9cc4 View commit details
    Browse the repository at this point in the history