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

remove need for blocks to have the 'block' class #42

Merged
merged 1 commit into from
Oct 26, 2023

Conversation

joshdentremont
Copy link
Contributor

What does this Pull Request do?

Not all themes put the 'block' class on all blocks by default. Stable9, for example, does not. This PR edits the code that reads your blocks so that it doesn't require them to have the 'block' class.

How should this be tested?

Using a theme like stable9 that does not add the block class, try sorting or facetting on search results to see an Ajax error in your console. After switching to this PR that should no longer occur.

Documentation Status

No documentation update needed

Interested parties

@Islandora/committers

@rosiel rosiel self-requested a review October 25, 2023 17:25
Copy link
Member

@rosiel rosiel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works as stated.

@rosiel rosiel merged commit 4e7a3ef into Islandora:2.x Oct 26, 2023
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