Remove eager loading on pie

This was causing memory issues for large asset sets
This commit is contained in:
snipe 2017-10-06 18:15:01 -07:00
parent e461c25428
commit 1dcff8d463

View file

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