From dbd7935c7f5c16f8b81dd448de74369596182402 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sava=C5=9F=20KARTAL?= Date: Tue, 3 Apr 2018 20:34:53 +0300 Subject: [PATCH] Update EloquentDataTable.php Fix #1683. --- src/EloquentDataTable.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;