Merge pull request #17272 from filamentphp/Fix-updating-table-grouping

Fix updating table grouping
This commit is contained in:
Dan Harrin
2025-08-12 10:00:40 +01:00
committed by GitHub
@@ -275,6 +275,9 @@
$watch('grouping', function () {
if (! grouping) {
group = null
direction = null
return
}
@@ -300,7 +303,7 @@
return
}
direction = 'asc'
direction ??= 'asc'
grouping = group ? `${group}:${direction}` : null
})
"