Disambiguated company_id in assets api controller

This commit is contained in:
snipe 2017-03-11 04:39:28 -08:00
parent 875d0dd343
commit 5b450c5978

View file

@ -114,7 +114,7 @@ class AssetsController extends Controller
}
if ($request->has('company_id')) {
$assets->where('company_id','=',$request->input('company_id'));
$assets->where('assets.company_id','=',$request->input('company_id'));
}
if ($request->has('manufacturer_id')) {