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:
@@ -56,7 +56,7 @@ trait CanSearchRecords
|
||||
return $query;
|
||||
}
|
||||
|
||||
$query->where( function ($query) {
|
||||
$query->where(function ($query) {
|
||||
collect($this->getTable()->getColumns())
|
||||
->filter(fn ($column) => $column->isSearchable())
|
||||
->each(function ($column) use (&$query) {
|
||||
|
||||
Reference in New Issue
Block a user