Right now, displaying a view mode in views is limited to using only the node table. It seems to work fine when using the node revision table as well, and it let's you display full content from different revisions of a node which is handy in some cases.mv

This patch just adds the node revision table as one of the table the node row display works on.

CommentFileSizeAuthor
node_revision_display_content.patch706 bytesanon
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

dawehner’s picture

Status: Active » Needs work

I'm not sure how this could work as

    $this->nodes = node_load_multiple($nids);

This should take care about loading the right node revision.

fabsor’s picture

Subscribing

anon’s picture

Not sure we are talking about the same thing here.

We want to be able to use the "full content" row style when the base_table is node_revison.

anon’s picture

Status: Needs work » Needs review
dawehner’s picture

Status: Needs review » Needs work

So you can to display the full content of a certain node revision, right?

The views_plugin_row_node_view doesn't load a specific revision, but the current revision of each node.
Based on this you will not see the expected result here.