mirror of
https://github.com/filamentphp/filament.git
synced 2026-09-24 15:42:09 +08:00
Update CanSearchRecords.php
This commit is contained in:
@@ -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),
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user