Missed on createdBy

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2022-06-23 18:42:22 -07:00
parent 3e559044b2
commit 9fd3541520

View file

@ -67,7 +67,7 @@ class UsersController extends Controller
'users.remote',
'users.ldap_import',
])->with('manager', 'groups', 'userloc', 'company', 'department', 'assets', 'licenses', 'accessories', 'consumables', 'adminuser',)
])->with('manager', 'groups', 'userloc', 'company', 'department', 'assets', 'licenses', 'accessories', 'consumables', 'createdBy',)
->withCount('assets as assets_count', 'licenses as licenses_count', 'accessories as accessories_count', 'consumables as consumables_count');
$users = Company::scopeCompanyables($users);