From df430a2263c9631a7bebdf82afe05de6d40f16d7 Mon Sep 17 00:00:00 2001 From: snipe Date: Sat, 28 Oct 2017 02:31:36 -0700 Subject: [PATCH] =?UTF-8?q?Removed=20assignedTo=20eager=20load=20for=20now?= =?UTF-8?q?=20-=20it=E2=80=99s=20not=20working?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Http/Controllers/Api/AssetsController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/Api/AssetsController.php b/app/Http/Controllers/Api/AssetsController.php index 822a0c58dc..2e240fff44 100644 --- a/app/Http/Controllers/Api/AssetsController.php +++ b/app/Http/Controllers/Api/AssetsController.php @@ -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');