diff --git a/app/Models/Traits/Searchable.php b/app/Models/Traits/Searchable.php index 6ac6be7357..4165dc98b9 100644 --- a/app/Models/Traits/Searchable.php +++ b/app/Models/Traits/Searchable.php @@ -279,6 +279,7 @@ trait Searchable return implode("||' '||", $columns) . ' LIKE ?'; } + // Default to MySQL's concatenation method return 'CONCAT(' . implode('," ",', $columns) . ') LIKE ?'; } }