more materials card picked up for home
This commit is contained in:
parent
d06cf6702a
commit
ba5ddc9cec
|
@ -46,7 +46,7 @@ class ComputedMaterialsReferences extends EntityReferenceFieldItemList
|
||||||
->range(0,200);
|
->range(0,200);
|
||||||
$results = $query->execute();
|
$results = $query->execute();
|
||||||
if ($results) {
|
if ($results) {
|
||||||
$nids = array_rand($results, 70);
|
$nids = array_rand($results, 100);
|
||||||
foreach ($nids as $key => $nid) {
|
foreach ($nids as $key => $nid) {
|
||||||
$this->list[$key] = $this->createItem($key, $nid);
|
$this->list[$key] = $this->createItem($key, $nid);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue