mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-13 06:47:46 -08:00
Remove eager loading on pie
This was causing memory issues for large asset sets
This commit is contained in:
parent
e461c25428
commit
1dcff8d463
|
@ -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=[];
|
||||||
|
|
Loading…
Reference in a new issue