mirror of
https://github.com/filamentphp/filament.git
synced 2026-09-24 15:42:09 +08:00
Ensure correct query type is passed to orderBy
This commit is contained in:
@@ -95,7 +95,7 @@ trait InteractsWithTableQuery
|
||||
$this->getRelatedModel($query)->query(),
|
||||
$query,
|
||||
$sortColumnName,
|
||||
),
|
||||
)->getQuery(),
|
||||
$direction,
|
||||
),
|
||||
fn ($query) => $query->orderBy($sortColumnName, $direction),
|
||||
|
||||
Reference in New Issue
Block a user