Closed wasxxm closed 6 years ago
Change columnExists method in Sortable.php from:
{ return (isset($model->sortable)) ? in_array($column, $model->sortable) : Schema::hasColumn($model->getTable(), $column); }
to the following to fix this issue.
private function columnExists($model, $column) { return (isset($model->sortable)) ? in_array($column, $model->sortable) : Schema::connection($model->getConnectionName())->hasColumn($model->getTable(), $column); }
Never needed to work with multiple connections, thanks for the report + possible fix, will incorporate in future release
Change columnExists method in Sortable.php from:
to the following to fix this issue.