I would like to create a view that displays related content for a node based on the common term references, but just in one specific field.

I have two fields in my Article content type that use term references:
1) Primary Topic - This allows one term from the Topics vocabulary
2) Other Topics - This allows up to three more terms from the Topics vocabulary

I was able to create a related content block using the tutorial here: https://www.daymuse.com/blogs/drupal-guide-related-content-term-views, but this example lists content that shares any terms in either Primary Topic or Other Topics. I would like to limit the related content to nodes that only share the same term in the Primary Topic field. Is there a way to do this?

Comments

Mohammed Nur’s picture

Just thinking off-the-top of my head...In Views, advanced section, disable 'shares any terms' checkbox. If that fails, in the same section, I think you can specify the term you want to work with. If that fails, maybe create a second argument that limits the argument further in the Primary Topic field.

I hope this helps.