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.
When creating a Content Revisions view there are relationships for historical data of a field that can be added. For Atom Reference fields this relationship is unavailable. This happens because the hook atom_reference_field_views_data() doesn't account for a relationship on the field's revision table.
Comment | File | Size | Author |
---|---|---|---|
#4 | scald-atom-reference-field-views-relationship-2653908-4.patch | 1.22 KB | gclicon |
| |||
#2 | scald-atom-reference-field-views-relationship-2653908-1.patch | 1.22 KB | gclicon |
Comments
Comment #2
gclicon CreditAttribution: gclicon at Achieve Internet commentedAttached is a patch to resolve this issue.
Thanks!
Comment #3
nagy.balint CreditAttribution: nagy.balint commentedHi!
Thanks for the patch.
There is a typo in this line
'label' => t('attom reference item revision from !field_name', array('!field_name' => $field['field_name'])),
Also maybe it should be started with a capital letter.
Comment #4
gclicon CreditAttribution: gclicon at Achieve Internet commentedGood catch. I updated label text as suggested.
Comment #5
nagy.balint CreditAttribution: nagy.balint commented@jcisio : Can you double check that this can go into Scald core?
Comment #7
DeFr CreditAttribution: DeFr at Axess Open Web Services commentedLooks fine, did various test that behaved as expected, patch pushed.
Sorry for the delay for the review :-(
Welcome in the Scald contributors family @gclicon :-)