Fixed query for location ID

This commit is contained in:
snipe 2017-11-03 20:10:36 -07:00
parent 88dff754b1
commit d7f8615964

View file

@ -112,7 +112,7 @@ class AssetsController extends Controller
}
if ($request->has('location_id')) {
$assets->ByLocationId($request->input('location_id'));
$assets->where('assets.location_id', '=', $request->input('location_id'));
}
if ($request->has('supplier_id')) {