Grouping Heading Element destroys "Use generated output to group rows"-Option

Created on 3 May 2023, almost 2 years ago

Problem/Motivation

Currently it is not possible to, for example, link Views group headings, because the required option is not working together with the grouping Element selection.

Steps to reproduce

Create a view, group by a entity title field (node, taxonomy, ...), configure this field to link on its detail page.
Now enable the "Use generated output to group rows"-Option in the Views display settings.

Proposed resolution

"Use generated output to group rows"-Option need to override the heading element with a DIV, so the grouping field controls the entire markup.

Modules Template:

{% if title and grouping_title_type %}
  <{{ grouping_title_type }}{{ grouping_title_attributes }}>{{title}}</{{ grouping_title_type }}>
{% endif %}


Core Template:

{% if title %}
  <h3>{{ title }}</h3>
{% endif %}

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Closed: works as designed

Version

1.0

Component

Code

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024