Include show_in_list option in select

This commit is contained in:
snipe 2018-07-18 03:59:02 -07:00
parent 3be68ec721
commit 5a1e1c73c9

View file

@ -142,7 +142,7 @@ class UsersController extends Controller
'users.avatar', 'users.avatar',
'users.email', 'users.email',
] ]
); )->where('show_in_list', '=', '1');
$users = Company::scopeCompanyables($users); $users = Company::scopeCompanyables($users);