1

I have a content type with multiple fields and a view to display them. I have an exposed filter for one of the fields and want to achieve this functionality:

when a user select a value for this filter I want to return those nodes but also the ones that have a certain value on another field.

Is there any way I can achieve that from the interface? I know how to do it with hook_views_query_alter()

Thanks

1 Answer 1

0

Easy to do but hard to find the answer.

In the views's FILTER CRITERIA click the down pointing arrow and select the second option (and/or, rearrange). Then create a new filter group and play around with the options there :)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.