diff --git a/src/EloquentDataTable.php b/src/EloquentDataTable.php index 8c3f9ce8..4aefb4ff 100644 --- a/src/EloquentDataTable.php +++ b/src/EloquentDataTable.php @@ -187,7 +187,7 @@ protected function joinEagerLoadedColumn($relation, $relationColumn) protected function checkSoftDeletesOnModel($model) { if (in_array('Illuminate\Database\Eloquent\SoftDeletes', class_uses($model))) { - return $model->getDeletedAtColumn(); + return $model->getQualifiedDeletedAtColumn(); } return false;