0

I have two Content types: Article1 with vocabulary1 with taxonomy terms: A, B, news; Article2 with vocabulary2 with taxonomy terms: X, Y, news.

I need to create a /news view page that displays content from both Article1 and Article2 tagged with "news".

I tried to use Filter Criteria: Has taxonomy term - vocabulary1 -> news OR Has taxonomy term - vocabulary2 -> news Nothing shows.

Please note that I set up Pathauto to publish in /news/article_title both Article1 and Article2 tagged with "news". Maybe a contextual filter could be used to pull all content from /news/*?

Thanks in advance, Cosmin

4
  • Revise the question and display a screenshot of your view please.
    – GiorgosK
    Mar 30, 2019 at 6:10
  • Why would you put news twice under diff vocabs in the first place?
    – No Sssweat
    Mar 30, 2019 at 17:12
  • Create a central vocab, Vocab 3 with term news. Article 1 allows to ref vocab 1 & 3 terms. Article 2 allows vocab 2 & 3 terms. Problem solved.
    – No Sssweat
    Mar 30, 2019 at 17:19
  • Dear No Sssweat, I have different vocabs for different roles. Thanks for the great idea. An easy fix that worked. Problem solved indeed.
    – Cosmin
    Mar 30, 2019 at 22:00

1 Answer 1

0

I tried it myself and views filter OR group is not working.

I think you just hit on a known bug.

Follow the discussion in this issue and this one and apply the latest patches mentioned and see if you can make it work. Make sure that you post back with your experience (did it work or not) so you can help this issue move along and eventually make it into a release.

As a workaround consider using 1 vocabulary (instead of 2) that holds all terms and your views filtering does not need an OR group.

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.