-
Notifications
You must be signed in to change notification settings - Fork 8
Add facets 3.x to composer.json #66
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
base: 2.x
Are you sure you want to change the base?
Conversation
I just tried testing this as a patch and I can not install facets 3.x. I don't think that is because this pull request is incorrect but because composer is checking the Drupal repository directly which does not have the patch. I'm not sure how to go about this after the namespace change. |
I did manage to get this working with help from @joecorall . Now I'm getting the WSOD. Update: drush cr fixed that. |
Search button is not working on the advance search block and the sort drop down does absolutely nothing now. |
@joshdentremont to test this, in your
Then in the
Then run |
I think more work needs to be done. I did some testing and:
My guess is the search button failure is because facets 3.x removed facets-views-ajax.js, which we are overriding in advanced search. This is missing in facets 3.x: https://git.drupalcode.org/project/facets/-/blob/2.0.x/facets.libraries.yml?ref_type=heads#L76 So when loading our search results it's not pulling in the facets-views-ajax.js from the advanced search module any more. |
We talked about this PR at the tech call today. We will turn this into a draft PR soon to give time to address issues Annie ran into. For example, there is some AJAX related issues in version 3.x |
I'm just going to add these notes here that I meant to post last week. The facet module says 3.x doesn't support ajax on facets as blocks and it recommends using the facets exposed filters submodule instead: https://git.drupalcode.org/project/facets/-/blob/3.0.x/docs/facet_blocks_support.md However, upgrading is not required and there is no automatic upgrade path: |
This PR is being marked as stale from inactivity and will be automatically closed in 90 days unless further action is taken. If this PR is still relevant please comment. Please also consider attending the weekly Tech Call to discuss the PR |
What does this Pull Request do?
Adds facets 3.x to the composer.json file. I haven't tested this yet so that's why it's a draft for now. Need to see if the change to AJAX will break anything.
Provide a brief description of what the intended result of the PR will be and/or what
problem it solves.
It shouldn't prevent people from using this module if they have facets 3.x installed.
Related GitHub Issue: (link)
issue #62
Other Relevant Links: (Google Groups discussion, related pull requests,
Release pull requests, etc.)
What's new?
A in-depth description of the changes made by this PR. Technical details and
possible side effects.
(i.e. Regeneration activity, etc.)?
How should this be tested?
A description of what steps someone could take to:
Documentation Status
Additional Notes:
Any additional information that you think would be helpful when reviewing this
PR.
Interested parties
Tag (@ mention) interested parties or, if unsure, @Islandora/committers