Thats enough re-theming for the day...
This commit is contained in:
parent
911434d033
commit
b926d432e8
15 changed files with 733 additions and 38 deletions
|
@ -124,6 +124,12 @@ class UserController extends Controller
|
|||
|
||||
public function getJson(Request $request)
|
||||
{
|
||||
return User::select('email')->get()->pluck('email');
|
||||
return User::select('id', 'email', 'username', 'name_first', 'name_last')
|
||||
->search($request->input('q'))
|
||||
->get()->transform(function ($item) {
|
||||
$item->md5 = md5(strtolower($item->email));
|
||||
|
||||
return $item;
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue