Removed assignedTo eager load for now - it’s not working

This commit is contained in:
snipe 2017-10-28 02:31:36 -07:00
parent 277e49468b
commit df430a2263

View file

@ -85,7 +85,7 @@ class AssetsController extends Controller
}
$assets = Company::scopeCompanyables(Asset::select('assets.*'))->with(
'location', 'assetstatus', 'assetlog', 'company', 'defaultLoc','assignedTo',
'location', 'assetstatus', 'assetlog', 'company', 'defaultLoc',
'model.category', 'model.manufacturer', 'model.fieldset','supplier');