-
Notifications
You must be signed in to change notification settings - Fork 8
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
Dual boot solrizer #745
Dual boot solrizer #745
Conversation
Solrizer is deprecated so calling Solrizer.solr_name results in an error. ref: - https://github.com/samvera-deprecated/solrizer
# app/helpers/solr_helper.rb | ||
module SolrHelper | ||
def solr_name(field_name, *opts) | ||
if Module.const_defined?(:Solrizer) |
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.
I am not using the dual boot support #rails_5_1? helper method here because that wouldn't necessarily be a valid check.
Note: this branch is pointing to i54 instead of develop to show the diffs. Since i54's PR wasn't merged, I had to branch this work off of it. I intend to merge this branch into develop once i54 is approved. |
Solrizer is deprecated so calling Solrizer.solr_name results in an error. ref: - https://github.com/samvera-deprecated/solrizer
…into dual-boot-solrizer
This PR is heavily influenced by the Bulkrax Solrizer solution.
related to:
Solrizer is deprecated so calling Solrizer.solr_name breaks for Hyrax 3+.
Now we are able to access the admin dashboard with dual boot. Previously it caused errors:
Rails 6.1:
BEFORE: