Skip to content

Commit

Permalink
Fix code style
Browse files Browse the repository at this point in the history
  • Loading branch information
curry684 committed Dec 18, 2023
1 parent 7002e1e commit 74dadb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/DataTableState.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 74dadb4

Please sign in to comment.