Skip to content

Commit

Permalink
fix restful search
Browse files Browse the repository at this point in the history
  • Loading branch information
jturbide committed Sep 28, 2024
1 parent 7bbb017 commit 7070b18
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,8 @@ public function defaultSearchCondition(): array|string|null
$value = $this->generateBindKey('search');

$query [] = "{$field} like :{$value}:";
$bind[$field] = '%' . $searchTerm . '%';
$bindTypes[$field] = Column::BIND_PARAM_STR;
$bind[$value] = '%' . $searchTerm . '%';
$bindTypes[$value] = Column::BIND_PARAM_STR;
}
}

Expand Down

0 comments on commit 7070b18

Please sign in to comment.