- last update
over 1 year ago 424 pass, 2 fail - π¬π§United Kingdom mjmorley
In Drupal 10 the method getMasterRequest on the RequestStack is gone and we should just use getMainRequest. I have updated patch #9 to reflect this, as patch #10 failed some tests.
This new patch should be compatible with D10.
- π«π·France aymen.essid
Update for patch #:
For Drupal 10, "getMasterRequest" method should be replaced by "getMainRequest". - last update
12 months ago Patch Failed to Apply - πΊπΈUnited States robpowell Boston
I wasn't able to get the patch to apply but I did add it as a custom facet processor manually. One item to note, this is a post_query processor and because of that it may not play nice with other build processors. For example, on my site we have hierarchical facets and after adding always show active to the hierarchical facet renders the active item outside of their expected hierarchy.
Expected Result for active item
grandchild
- Facet one
- Parent
- child
- [X] grandchild
- child
- Parent
Actual Result
- Facet one
- [x] grandchild
- Parent
- child
Is there a way for the active item to be in its expected hierarchy?
- Facet one
- πΊπΈUnited States edwardsay
Patch #12 applies and works great! That's exactly what we needed.