I have two content types on my site: "mountains" and "trip reports" with the idea being that users can create a trip report for any particular mountain they have visited.
My "trip reports" content type uses an entity reference field so that the user can select from the list of "mountains" content type.
I want to create a view to display as a block on the "mountains" pages that lists the recent trip reports associated with that mountain. How do I structure my filter in Views? I can either get all trip reports to show up (i.e. trip reports associated with all mountains, or none to show up!
Here's my current view setup:
Fields:
- Content: Title
Filter Criteria:
- Content: Published (Yes)
- Content: Type (= Trip Report)
Contextual Filters:
- Content: Title
Relationships:
- Entity Reference: Referencing entity