Too much grep
This commit is contained in:
parent
532ee98663
commit
59f8ae4b50
4 changed files with 4 additions and 4 deletions
|
@ -46,7 +46,7 @@ class UserRepository extends EloquentRepository implements UserRepositoryInterfa
|
|||
'id', 'email', 'username', 'name_first', 'name_last',
|
||||
]);
|
||||
|
||||
$instance = $this->getBuilder()->setSearchTerm($query)->get($this->getColumns());
|
||||
$instance = $this->getBuilder()->search($query)->get($this->getColumns());
|
||||
|
||||
return $instance->transform(function ($item) {
|
||||
$item->md5 = md5(strtolower($item->email));
|
||||
|
|
Reference in a new issue