Update CanSearchRecords.php

This commit is contained in:
Dan Harrin
2025-01-22 10:11:09 +00:00
parent cb57e8083c
commit b2e37089d3
@@ -110,7 +110,7 @@ trait CanSearchRecords
protected function extractTableSearchWords(string $search): array
{
return array_filter(
str_getcsv(preg_replace('/\s+/', ' ', $search), separator: ' ', escape: "\\"),
str_getcsv(preg_replace('/\s+/', ' ', $search), separator: ' ', escape: '\\'),
fn ($word): bool => filled($word),
);
}