Hi,

I try to build a view where I can get a list of entities which were referenced in different revisions of the parent node.

Fore example - a node with nid 1:

Revision vid=1 of node 1: - Referencing node 2 and node 3

Revision vid=2 of node 1: - Referencing node 2, node 3 and node 4

Now I need a view with argument node nid and/or vid displaying these referenced nodes.

I tried by adding two arguments to the view:

Content: Nid
Content revision: Vid

It also has a realtionship "Content entity referenced from field_XYZ"

When I add the following values for these arguments:

Nid = 1
Vid = 1

and revision vid = 1 is the current one (stored in node table) I get the list:

node 2
node 3

When I add the arguments

Nid = 1
Vid = 2

and revision vid = 1 is the current one (stored in node table) I get an empty list. This is clear to me: Views module joins in the field_data_* table - not the field_revision_* table where I can see the three referenced nodes for nid=1 and vid=2 correctly stored.

My question: how can I get view to join in the field_revision_* table in order to show me the entries of a specific revision?

Comments

tobiberlin created an issue. See original summary.

MustangGB’s picture

Status: Active » Closed (outdated)

Closing this as outdated to tidy up a bit around here. If you're still having problems with the latest release please create a new issue.