Needs review
Project:
FooTable
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
11 Feb 2023 at 11:22 UTC
Updated:
11 Feb 2023 at 11:22 UTC
Jump to comment: Most recent
The configuration of sortable columns and the default order in Footable Settings of a View are ignored. All columns can be sorted.
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.
Please review the patch, maybe there is a better place to fix this issue.
| Comment | File | Size | Author |
|---|---|---|---|
| footable-sortable_columns.patch | 899 bytes | alexh |
Comments