Skip to content

Commit

Permalink
Update QueryBuilder.php
Browse files Browse the repository at this point in the history
  • Loading branch information
n1crack committed Jun 8, 2024
1 parent 0cd4211 commit 99218da
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/QueryBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,9 @@ protected function filterGlobal(Query $query): string

$search = [];

foreach (explode(' ', $searchInput) as $word) {
$searchKeywords = $this->db->isExactMatch() ? [$searchInput] : explode(' ', $searchInput);

foreach ($searchKeywords as $word) {
$look = [];

foreach ($columns as $column) {
Expand Down

0 comments on commit 99218da

Please sign in to comment.