Views table has multiple active sort columns when "Add default classes" is disabled

Created on 30 January 2024, 10 months ago
Updated 26 February 2024, 9 months ago

Problem/Motivation

If a column in a view has the option "Add default classes" turned off, then its header and data cells get the same classes as the prior column. This can lead to more than one column seeming to be "active" for sorting, and other possible problems with incorrect classes being applied.

The original version of this report can be found at πŸ› Views table has multiple active sort columns when "Add default classes" is disabled Needs review . Because Classy's views-view-table.html.twig template is based on a copy of the original which contains the bug, the same fix is needed here.

πŸ› Bug report
Status

Needs review

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States gribnif

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

Comments & Activities

Production build 0.71.5 2024