Allow Views table caption field to support tokens from the first row of results

Created on 6 December 2023, about 1 year ago
Updated 7 December 2023, about 1 year ago

Problem/Motivation

Table captions in Views style plugins could benefit from allowing captions to be used to describe a table. But currently the caption field doesn't not process tokens from the first row of results from the view.

Steps to reproduce

Try adding a token to the table caption config in the Views Table style plugin.

Proposed resolution

Add token processing to the table caption.

Remaining tasks

User interface changes

The caption form field will show similar messaging as the row class field. But specifies it's only tokens from the first row.

API changes

None

Data model changes

None

Release notes snippet

Feature request
Status

Needs work

Version

11.0 🔥

Component
Views 

Last updated about 14 hours ago

Created by

🇨🇦Canada minoroffense Ottawa, Canada

Live updates comments and jobs are added and updated live.
  • Needs change record

    A change record needs to be drafted before an issue is committed. Note: Change records used to be called change notifications.

  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024