Skip to content

Commit

Permalink
Merge pull request #106 from n1crack/dev
Browse files Browse the repository at this point in the history
Update QueryBuilder.php
  • Loading branch information
n1crack authored Jun 8, 2024
2 parents f849d5c + 99218da commit 7da8e24
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 7da8e24

Please sign in to comment.