What I want is to make a simple view that gets and displays all revisions of a given content/node. Like this with the following fields added:
Revision ID: 7
Date: Oct. 25. 2011
Log: Changed line 4.
Revision author: user1
Revision ID: 6
Date: Oct. 22. 2011
Log: Changed line 8.
Revision author: user2
Revision ID: 5
Date: Oct. 09. 2011
Log: Changed line 3.
Revision author: user3
And so on.
Right now I'm only able to make Views display the LATEST revision (in this example =revision ID 7). When I make a new revision (ID 8) this will be displayed and ID 7, 6, 5 and so on will not. It seems rather illogical, since I've not set any limitations on the number of items to display.
Comments
Comment #1
thomas1977 commentedSolved! The View type needs to be 'content revision'. I had it set to 'content'.
Comment #2
Xomby commentedI have the same issue, but even using the "content revision" view type, it still only shows one.
Comment #3
dpw commented+1
I'm unable to create a view which shows all revisions (even building the new view as "content revisions").
D7.15, Views 7.x-3.4
Comment #4
johnvBeware, if your node has only one revision (aka no revision), you'll run into #808730: Show the Revisions tab/page even when only one revision exists.
Comment #5
andypostThis ability was broken in #1547726: Kill implicit relationship from node to node_revision
JOIN after 3.4 version happens wrong
Comment #6
PatchRanger commentedClosing as a dup of #1754354: Node revisions only displays latest revision.
This issue is elder, but that one has a patch attached.
Indeed.
The reason why is described there (see http://drupal.org/node/1754354#comment-6436996).
Comment #7
andypostNot sure about comments and field names but the patch describes NID field of node_revision table
Comment #8
andypostSame patch posted to #1754354-6: Node revisions only displays latest revision
Comment #9
lohithsunchu commentedSame issuse : How to make views get and display ALL revisions of a given content Date & time (now: views only gets the latest revision)
Comment #10
stephen ollmanSo I gather this is not possible for the layman to do without some custom coding?
Has anyone found a solution to what should obviously be a standard feature.
Why would I want to see only one revision?
Looks like something fundamental is missing to this functionality.
Comment #11
rdunn944 commentedTo create a view that shows all revisions select "Show: Content revisions" when creating the view.
When editing the view remove the Filter Criteria "Published (yes)".
When adding fields to the view choose fields preceded with this "Content (historical data):" to display the field value from the revision and not the current value of that field.
This does not apply to the Title field and things such as the edit link field.
Also make sure you've selected "Create new revision" under publishing options for the content type(s) that you're creating a revision view for. Without that selected there is only the current revision of your content.
Comment #12
darren oh