Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I want to have a list of all revisions of a node in a view.
I want to embed this view later so i don't want to just see this list from the "revisions" tab of a node.
Currently i tried to make a view of "content revisions" with a contextual filter for the 'nid' but i get only the latest revision.
Comments
Comment #1
NWOM CreditAttribution: NWOM commentedI'm also only able to view the latest revision. Is it possible that the bug described here #1754354: Node revisions only displays latest revision still exists?
Comment #2
NWOM CreditAttribution: NWOM commentedI figured it out. I added the field "Content (historical data): fieldname".
And then if you are needing relationships.
- Content Revision ID = Historical Data (revisions)
- Content Revision NID = Current
I did this using the most recent dev version.
@exog3n: Let me know if this works for you.
Comment #3
Red Sky Tom CreditAttribution: Red Sky Tom commentedHaving the same issue. I have a couple of blocks that display the content revision log messages for a node and they now only show the latest. I can see the node revisions in the database but they are not all displaying. Any help in this area would be appreciated. Thanks.
Update: I ended up just writing my own block to pull all the results out of the database.
Comment #4
MustangGB CreditAttribution: MustangGB commented