mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-24 04:03:34 -08:00
Fixed missing with clause
This commit is contained in:
parent
42db9563ae
commit
93dd27339b
|
@ -46,7 +46,7 @@ class StatuslabelsController extends Controller
|
|||
public function getAssetCountByStatuslabel()
|
||||
{
|
||||
|
||||
$statusLabels = Statuslabel::with()->get();
|
||||
$statusLabels = Statuslabel::with('assets')->get();
|
||||
$labels=[];
|
||||
$points=[];
|
||||
$colors=[];
|
||||
|
|
Loading…
Reference in a new issue