From 6efe9efab8ce4dd6ca4d03b76fcf238d7c293067 Mon Sep 17 00:00:00 2001 From: snipe Date: Thu, 19 Apr 2018 18:28:22 -0700 Subject: [PATCH] Fixes #5393 - added notes to suppliers API (#5400) --- app/Http/Controllers/Api/SuppliersController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/Api/SuppliersController.php b/app/Http/Controllers/Api/SuppliersController.php index 96a1efe224..d7d54dd6fc 100644 --- a/app/Http/Controllers/Api/SuppliersController.php +++ b/app/Http/Controllers/Api/SuppliersController.php @@ -25,7 +25,7 @@ class SuppliersController extends Controller $allowed_columns = ['id','name','address','phone','contact','fax','email','image','assets_count','licenses_count', 'accessories_count']; $suppliers = Supplier::select( - array('id','name','address','address2','city','state','country','fax', 'phone','email','contact','created_at','updated_at','deleted_at','image') + array('id','name','address','address2','city','state','country','fax', 'phone','email','contact','created_at','updated_at','deleted_at','image','notes') )->withCount('assets')->withCount('licenses')->withCount('accessories')->whereNull('deleted_at');