Merge branch '3.x' into 4.x

This commit is contained in:
Dan Harrin
2025-04-19 16:33:32 +01:00
@@ -37,7 +37,7 @@ trait CanReorderRecords
$model = app($this->getTable()->getModel());
$modelKeyName = $model->getKeyName();
$wrappedModelKeyName = $model->getConnection()->getSchemaGrammar()->wrap($modelKeyName);
$wrappedModelKeyName = $model->getConnection()?->getQueryGrammar()?->wrap($modelKeyName) ?? $modelKeyName;
$model
->newModelQuery()