- 🇪🇪Estonia turtletrail
#24 worked fine for me, doing exactly what it needs
thanks a lot! - 🇨🇦Canada joseph.olstad
I'm using my own hack solution for this but eventually hope to try patch 24 at some point.
Hello,
There is already a close issue to this one → but I am not sure if it's the same.
So everything what is described in the other issue is the same for me until it comes to the critical part.
Imagine you have 2 facets (single valued):
A with values 1, 2, 3
B with values x, y, zB depends on facet A with the value 2.
Now imagine you will select facet A with value 2.
After the next refresh, facet B will show up.
B will get the value x.
So I also have the problem from the critical part, but I don't want/need such a complex solution. In my case I display the facets as "List of links". The only thing I want is that the links from facet A never change, no matter what I select on facet B. Maybe this is somehow possible. I don't know how this module works, but is it possible to just remove all other facet from the URL on facet A before it gets rendered?
(see comment #3)
A) Add an option to "Reset other facets values" - which might be a first workaround and could be helpful in other cases. This is implemented in MR!68:
B) Fix #2993101: Display facets when there are no search results → & ✨ Consider including a processor which always includes active filters in the list of facet results Needs review and also implement a functionality to automatically remove facet filters without results completely (e.g. that also wouldn't be shown in combination with the existing facets values) - which might be quite complicated
C) As this is most useful for LinksWidget, we could (in Facets or contrib) create something like an @FacetsWidget: ExclusiveLinksWidget extends LinksWidget
removing other filter parameters. But that would make the functionality exclusive to that widget.
Needs work
2.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
#24 worked fine for me, doing exactly what it needs
thanks a lot!
I'm using my own hack solution for this but eventually hope to try patch 24 at some point.