mirror of
https://github.com/filamentphp/filament.git
synced 2026-09-24 15:42:09 +08:00
Merge pull request #17743 from People-Sea/fix/issue/17720
fix: `defaultKeySort` did not work as expected
This commit is contained in:
@@ -111,7 +111,7 @@ trait CanSortRecords
|
||||
$query = $defaultSort;
|
||||
}
|
||||
|
||||
if (filled($query->getQuery()->orders) && (! $this->getTable()->hasDefaultKeySort())) {
|
||||
if (! $this->getTable()->hasDefaultKeySort()) {
|
||||
return $query;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user