I have a drop down list filter for content type with choices A and B.
Have two controlled filters, C and D, both controlled by that filter.
Dependent filter 1 is controlled by choice A and controls filter C.
Dependent filter 2 is controlled by choice B and controls filter D.

This arrangement produces no results regardless of the choices for A, B, C, or D.

If I remove dependent filter 2, and select choice A, I get the expected results.
If I then select choice B, I get no results.
If I have no dependent filters, the view works fine so long as C is "any" when B is chosen, D is "any" when A is chosen.

I tried various combinations using "OR", but got nowhere.

Seems like the dependent filter is excluding results for the content type of another choice in the controlling filter other than the one associated with the one dependent filter even though the dependent filter for that content type doesn't exist.

Comments

joachim’s picture

Status: Active » Closed (works as designed)

> Seems like the dependent filter is excluding results for the content type of another choice in the controlling filter other than the one associated with the one dependent filter even though the dependent filter for that content type doesn't exist.

Yes, I think that's what is mentioned in the README.

druplicate’s picture

Status: Closed (works as designed) » Active

Oops, sorry but this is really a duplicate of an issue I raised before, #1804182: Hiding filter does not reset it. except that I took the BEF module out of the equation.

It seems to me this is a typical use case that this module was designed for.

When choice A is made, it should enable filter C and disable filter D, and the converse when B is chosen. All it has to do is hide the disabled filter widget and set the choice to -any-, but apparently that's not what happens.

Can you explain what it is doing, and why this doesn't work?

If it's not a bug, is there a trick to get it to work?

Thanks,

Jeff

joachim’s picture

Status: Active » Closed (duplicate)

Ok, closing as a duplicate -- see you over there.