mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-21 15:53:45 +02:00
Too much grep
This commit is contained in:
@@ -228,7 +228,7 @@ abstract class EloquentRepository extends Repository implements RepositoryInterf
|
||||
{
|
||||
$instance = $this->getBuilder();
|
||||
if (is_subclass_of(get_called_class(), SearchableInterface::class) && $this->hasSearchTerm()) {
|
||||
$instance = $instance->setSearchTerm($this->getSearchTerm());
|
||||
$instance = $instance->search($this->getSearchTerm());
|
||||
}
|
||||
|
||||
return $instance->get($this->getColumns());
|
||||
|
||||
Reference in New Issue
Block a user