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

Fix collection show-with-search customization for Rails 8 #2791

Merged
merged 2 commits into from
Dec 3, 2024

Conversation

jrochkind
Copy link
Contributor

The custom over-ride of the "#facet" method has become out of date in Rails 8, was calling the wrong methods, raised.

Ref #2790

However on a close look -- I couldn't figure out what this override was for anyway, it looked exactly like current base implementation. Tried to see if things would work without the override at all. They appeared to?

I think it has been unnecessary ever since commit 6d96dd2 in 2019 -- prior to that we were using param keys differnetly than Blacklight so needed to override method to use our different keys, but as of that commit that was no longer true and the override was prob unnecessary since then.

With browser test to make sure facet "more" link was working -- that was what was broken.

The custom over-ride of the "#facet" method has become out of date in Rails 8, was calling the wrong methods, raised.

However on a close look -- I couldn't figure out what this override was for anyway, it looked exactly like current base implementation. Tried to see if things would work without the override at all. They appeared to?

I think it has been unnecessary ever since commit 6d96dd2 in 2019 -- prior to that we were using param keys differnetly than Blacklight so needed to override method to use our different keys, but as of that commit that was no longer true and the override was prob unnecessary since then.

With browser test to make sure facet "more" link was working -- that was what was broken.
@jrochkind jrochkind marked this pull request as ready for review December 2, 2024 21:46
@jrochkind jrochkind marked this pull request as draft December 2, 2024 21:46
Base automatically changed from blacklight_8_update_try2_bootstrap5 to bootstrap5 December 3, 2024 16:12
@jrochkind jrochkind marked this pull request as ready for review December 3, 2024 16:12
@jrochkind jrochkind merged commit b0e63da into bootstrap5 Dec 3, 2024
1 check passed
@jrochkind jrochkind deleted the fix_collection_customize_rails8 branch December 3, 2024 16:12
jrochkind added a commit that referenced this pull request Dec 3, 2024
Parallel to #2791 for collection controller, must do the same for featured topic controller. No longer need #facet action method override, which had become out of date in BL8."
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.

2 participants