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.
If you use the global: math field you can access the value of the previous row by using the [expression] token itself.
This should be documented on the field, as it's quite usefull.
Comment | File | Size | Author |
---|---|---|---|
#5 | views-document_field_math-1547924-3.jpg | 324 KB | HeimdallJHM |
#3 | views-document_field_math-1547924-3.patch | 1.01 KB | richardbporter |
Comments
Comment #1
franzThank you for this. +1 to the this into docs.
Comment #2
merlinofchaos CreditAttribution: merlinofchaos commentedComment #3
richardbporter CreditAttribution: richardbporter as a volunteer commentedI took a shot at this. Added to the options_form description.
Comment #4
richardbporter CreditAttribution: richardbporter as a volunteer commentedComment #5
HeimdallJHM CreditAttribution: HeimdallJHM at ASPgems commentedTested. It works properly
Comment #6
HeimdallJHM CreditAttribution: HeimdallJHM at ASPgems commentedComment #7
dawehnerLet's commit it.
Thank you for providing a patch!