Too much grep
This commit is contained in:
parent
532ee98663
commit
59f8ae4b50
4 changed files with 4 additions and 4 deletions
|
@ -34,7 +34,7 @@ class ServerRepository extends EloquentRepository implements ServerRepositoryInt
|
|||
*/
|
||||
public function getAllServers(int $paginate): LengthAwarePaginator
|
||||
{
|
||||
$instance = $this->getBuilder()->with('node', 'user', 'allocation')->setSearchTerm($this->getSearchTerm());
|
||||
$instance = $this->getBuilder()->with('node', 'user', 'allocation')->search($this->getSearchTerm());
|
||||
|
||||
return $instance->paginate($paginate, $this->getColumns());
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue