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.
Problem/Motivation
When creating a view with the revision table as the base, the entity links are not available. This means you cannot provide a link to edit the entity.
This is kind of disruptive especially now that the revision table must be the base table for a view if you want to display the latest revision, which is a common use case for administration views + content moderation.
Proposed resolution
Add the same entity links to views using revisions as a base.
Remaining tasks
User interface changes
API changes
Data model changes
Comment | File | Size | Author |
---|---|---|---|
#4 | 2914287-4.patch | 2.54 KB | Sam152 |
#2 | 2914287-2.patch | 581 bytes | Sam152 |
Comments
Comment #2
Sam152 CreditAttribution: Sam152 as a volunteer and at PreviousNext commentedSimple fix for a lot of benefit IMO.
Comment #3
Sam152 CreditAttribution: Sam152 as a volunteer and at PreviousNext commentedNW for some tests.
Comment #4
Sam152 CreditAttribution: Sam152 as a volunteer and at PreviousNext commentedAdded tests and updated IS with some of the motivations.
Comment #5
Sam152 CreditAttribution: Sam152 as a volunteer and at PreviousNext commentedComment #6
Manuel Garcia CreditAttribution: Manuel Garcia as a volunteer and at Appnovation for Pfizer, Inc. commentedTested the patch manually by setting up a view on my local installation, works as advertised.
+1 to rtbc from me
Comment #7
Sam152 CreditAttribution: Sam152 as a volunteer and at PreviousNext commentedThat's good enough for me :)
Comment #10
Sam152 CreditAttribution: Sam152 as a volunteer and at PreviousNext commentedBotfluke, back to RTBC :)
Comment #11
larowlanCrediting @Manuel Garcia for taking the time to manually test this
Comment #13
larowlanCommitted to 4bd5cab and pushed to 8.6.x
Cherry-picked as 7d7e37b and pushed to 8.5.x.