diff --git a/src/DataTableState.php b/src/DataTableState.php index 85ffcd5..ac4ace4 100644 --- a/src/DataTableState.php +++ b/src/DataTableState.php @@ -102,7 +102,7 @@ private function handleSearch(ParameterBag $parameters): void { foreach ($parameters->all()['columns'] ?? [] as $key => $search) { $column = $this->dataTable->getColumn((int) $key); - $value = $this->isInitial ? $search : $search['search']['value'] ?? ""; + $value = $this->isInitial ? $search : $search['search']['value'] ?? ''; if ($column->isSearchable() && ('' !== trim($value))) { $this->setColumnSearch($column, $value);