Configuration of sortable columns

Created on 11 February 2023, almost 2 years ago

Problem/Motivation

The configuration of sortable columns and the default order in Footable Settings of a View are ignored. All columns can be sorted.

Proposed resolution

It seems that the setting is not properly introduced into HTML attributes data-sortable and data-sorted. I changed the boolean values to strings and then it worked - sorting of columns works for those configured as such. Columns not configured to be sortable, are not sortable any more. See patch attached.

Remaining tasks

Please review the patch, maybe there is a better place to fix this issue.

🐛 Bug report
Status

Needs review

Version

1.0

Component

Code

Created by

🇦🇹Austria alexh

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

Comments & Activities

Production build 0.71.5 2024