From ecd21074fbfad902e67e43ea32bc3867787b6d4c Mon Sep 17 00:00:00 2001 From: snipe Date: Fri, 3 Nov 2017 20:10:05 -0700 Subject: [PATCH] Commented out erroneous fixme --- app/Models/Asset.php | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/app/Models/Asset.php b/app/Models/Asset.php index 89735ad999..cb5aee97cd 100644 --- a/app/Models/Asset.php +++ b/app/Models/Asset.php @@ -1121,14 +1121,7 @@ class Asset extends Depreciable $query->where('locations.id', '=', $search); }); }); - // FIXME: This needs porting to checkout to non-user. - // ->orWhere(function ($query) use ($search) { - // $query->whereHas('assigneduser', function ($query) use ($search) { - // $query->whereHas('userloc', function ($query) use ($search) { - // $query->where('locations.id', '=', $search); - // }); - // }); - // }); + }