diff --git a/src/EloquentDataTable.php b/src/EloquentDataTable.php index 8c3f9ce8..38c5adb1 100644 --- a/src/EloquentDataTable.php +++ b/src/EloquentDataTable.php @@ -214,7 +214,7 @@ protected function performJoin($table, $foreign, $other, $deletedAt = false, $ty } if ($deletedAt !== false) { - $this->getBaseQueryBuilder()->whereNull($deletedAt); + $this->getBaseQueryBuilder()->whereNull($table . '.' . $deletedAt); } } }