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.
This is a follow-up for #1754354: Node revisions only displays latest revision, that introduced a new Revision relationship. (nid vs. vid) .
However, both relationships have exactly the same descriptions, which is very confusing.
Comment | File | Size | Author |
---|---|---|---|
#5 | views_1827602_5_content_revision_description.patch | 929 bytes | johnv |
Comments
Comment #1
johnvPlease find text suggestions attached.
I use 'historical data' , because that appears in the Fields section, too.
I use 'current' vs. actual, because 'actual' gives me the impression of 'real' rather then 'latest'.
Comment #2
johnvSee also #1397106: Content (historical data) vs. Content revision in view of type: Content revision.
Comment #4
andypostDon't change group, and provide a patch in '-p1' format
Comment #5
johnvPlease find attache a git-style patch.
I haven't changed the contents. IMO the 'title' is not the group, but it is appended to the group.
This is how both relationships handlers look like BEFORE, with original 'title':
RELATIONSHIPS
Content revision: Content
Content revision: Content
And this is how both relationships handlers look like AFTER, with new 'title':
RELATIONSHIPS
Content revision: historical data (Vid)
Content revision: current data (Nid)
Comment #6
kehan CreditAttribution: kehan commentedI tried the patch against 7.x-3.5 and it works for me
Comment #7
johnv#5: views_1827602_5_content_revision_description.patch queued for re-testing.
Comment #8
Chris Matthews CreditAttribution: Chris Matthews as a volunteer commentedThe 6 year old patch in #5 to node.views.inc applied cleanly to the latest views 7.x-3.x-dev and if still applicable needs to be reviewed.