I have a view, which only appears when you navigate to certain nodes.
Each node which it appears under, has a taxonomy with a field called 'related_content_entity' referencing some related content. The node only has one taxonomy. I need the view to display data from the related_content_entity for the current node's taxonomy.
The brick wall which I have seemed to hit, isn't the entity reference, but filtering the results down to the one field referenced in the taxonomy associated with the node.
I get expected behaviour up to this point; creating a required relationship to the entity reference like this:
Gives me this result:
Which is entirely expected. But specifically what I can't figure out it how to filter these results down to the current node's taxonomy field. There's not a single contextual filter which I've tried which would filter the result down to only the node's taxonomy's field.
To put what I'd like to acheive more clearly:
Node-1 is under taxonomy-1, and taxonomy-1 has node-2 as an entity reference (though the entity reference module) in one of it's fields.
When view-A appears on Node-1, I'd like view-A to display the entity reference.
How do I do this?
Edit: This is my current set-up. This the input:
And this is the output:
@rooby, thanks for your help, but I don't actually get any results if I add any contextual filter under the sun.