fixed query
This commit is contained in:
parent
f9baeefbaf
commit
01f4aa018f
1 changed files with 1 additions and 1 deletions
|
@ -794,7 +794,7 @@ class User extends SnipeModel implements AuthenticatableContract, AuthorizableCo
|
||||||
return $query->where('location_id','=', $location)
|
return $query->where('location_id','=', $location)
|
||||||
->where('first_name', 'LIKE', '%' . $search . '%')
|
->where('first_name', 'LIKE', '%' . $search . '%')
|
||||||
->orWhere('email', 'LIKE', '%' . $search . '%')
|
->orWhere('email', 'LIKE', '%' . $search . '%')
|
||||||
->orWhere('first_name', 'LIKE', '%' . $search . '%')
|
->orWhere('last_name', 'LIKE', '%' . $search . '%')
|
||||||
->orWhere('permissions', 'LIKE', '%' . $search . '%')
|
->orWhere('permissions', 'LIKE', '%' . $search . '%')
|
||||||
->orWhere('country', 'LIKE', '%' . $search . '%')
|
->orWhere('country', 'LIKE', '%' . $search . '%')
|
||||||
->orWhere('phone', 'LIKE', '%' . $search . '%')
|
->orWhere('phone', 'LIKE', '%' . $search . '%')
|
||||||
|
|
Loading…
Add table
Reference in a new issue