Skip to content

Add Views relationships (both forward and reverse) #21

@olafgrabienski

Description

@olafgrabienski

I'm trying to display a block with 'reverse' links to a referencing node. My post type has a reference field, and Article A displays a reference link to Article B, C, and D.

On Article B, C, and D I want to display a reverse link to Article A. As far as I remember from Drupal and Entity Reference, it was possible to use a relationship called "Referencing Entity". Using Reference I can't find this relation in Views, but only a "referenced by" relationship (e.g. Node referenced by field_post_related). I propose to add the "referencing" relationship as well.

Forward relationships Reference to:

Node 1 -> node 2

Reverse relationships Reference from:

Node 2 <- node 1


Merged PR: #47

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions