Too much grep
This commit is contained in:
parent
532ee98663
commit
59f8ae4b50
4 changed files with 4 additions and 4 deletions
|
@ -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 a new issue