Fixed missing with clause

This commit is contained in:
snipe 2016-12-22 21:08:43 -08:00
parent 42db9563ae
commit 93dd27339b

View file

@ -46,7 +46,7 @@ class StatuslabelsController extends Controller
public function getAssetCountByStatuslabel()
{
$statusLabels = Statuslabel::with()->get();
$statusLabels = Statuslabel::with('assets')->get();
$labels=[];
$points=[];
$colors=[];