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

Dual boot solrizer #745

Merged
merged 3 commits into from
Aug 9, 2023
Merged

Dual boot solrizer #745

merged 3 commits into from
Aug 9, 2023

Conversation

ShanaLMoore
Copy link
Collaborator

@ShanaLMoore ShanaLMoore commented Aug 9, 2023

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:

image

BEFORE:

image

@ShanaLMoore ShanaLMoore changed the base branch from develop to i54-dual-booting-ui August 9, 2023 20:13
# app/helpers/solr_helper.rb
module SolrHelper
def solr_name(field_name, *opts)
if Module.const_defined?(:Solrizer)
Copy link
Collaborator Author

@ShanaLMoore ShanaLMoore Aug 9, 2023

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.

@ShanaLMoore
Copy link
Collaborator Author

ShanaLMoore commented Aug 9, 2023

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.

orangewolf
orangewolf previously approved these changes Aug 9, 2023
@ShanaLMoore ShanaLMoore changed the base branch from i54-dual-booting-ui to develop August 9, 2023 22:40
@ShanaLMoore ShanaLMoore dismissed orangewolf’s stale review August 9, 2023 22:40

The base branch was changed.

@ShanaLMoore ShanaLMoore merged commit f4d667d into develop Aug 9, 2023
1 check passed
@kirkkwang kirkkwang deleted the dual-boot-solrizer branch August 9, 2023 23:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants