diff --git a/src/Services/DataTable.php b/src/Services/DataTable.php index 69ab245..7f4392e 100644 --- a/src/Services/DataTable.php +++ b/src/Services/DataTable.php @@ -550,7 +550,7 @@ public function addScope(DataTableScope $scope) */ public function addScopes(array $scopes) { - array_push($this->scopes, $scopes); + $this->scopes = array_merge($this->scopes, $scopes); return $this; }