fix: ignore table sort while its column is toggled hidden

This commit is contained in:
dualfroz committed 2026-10-10 12:44:36 +02:00
1 parent c4540cd302
commit 71ab17f6f2
3 files changed
+26 -2

No files matched your search

@@ -89,7 +89,8 @@ trait CanSortRecords
if (
$tableSortColumn &&
$column = $this->getTable()->getSortableVisibleColumn($tableSortColumn)
($column = $this->getTable()->getSortableVisibleColumn($tableSortColumn)) &&
(! $column->isToggledHidden())
) {
$sortDirection = $this->getTableSortDirection() === 'desc' ? 'desc' : 'asc';