mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-25 05:34:06 -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()
|
||||
{
|
||||
|
||||
$statusLabels = Statuslabel::with('assets')->get();
|
||||
$statusLabels = Statuslabel::get();
|
||||
$labels=[];
|
||||
$points=[];
|
||||
$colors=[];
|
||||
|
|
Loading…
Reference in a new issue