7

I created a related nodes block with views.

Everything seems good but there is one problem that I couldn't find a solution for days.

The views has Content: Has taxonomy term ID (with depth) as contextual filter.

If a node has only one taxonomy term there is no problem and the related views block shows the related nodes tagged with the same taxonomy term.

But if a node has multiple taxonomy terms, the related nodes block shows all the nodes that are tagged with any of the taxonomy terms although I selected the Filter to items that share all terms option.

Multiple-value handling

Is there any way to solve this problem?

  • 1
    Great stuff here. I imagine a lot of people will miss this option. Why this option is hidden under More and not in the main arguments section is baffling to me. Thanks mate. +1 – Lester Peabody Jul 22 '15 at 18:44
9

The answer was very simple but I missed it, you don't miss it if you are in the same situation:

Tick the Allow multiple values below the MORE part in contextual filter.

enter image description here

  • 1
    thank you very much, this is so easy once you know how and so not obvious until you know... – DrCord Jan 13 '16 at 20:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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