Skip to content

Commit 25eb02e

Browse files
committed
fix(Impact\Embodied): assets should not be recalculated
1 parent 5efcb06 commit 25eb02e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/Impact/Embodied/AbstractEmbodiedImpact.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,10 @@ public function evaluateItems(): int
128128
$attempts_count = 0;
129129
/** @var int $count count of successfully evaluated assets */
130130
$count = 0;
131-
$iterator = $DB->request($this->getEvaluableQuery([], false));
131+
$crit = [
132+
EmbodiedImpact::getTableField('id') => null,
133+
];
134+
$iterator = $DB->request($this->getEvaluableQuery($crit, false));
132135
foreach ($iterator as $row) {
133136
if ($this->evaluateItem($row['id'])) {
134137
$count++;

0 commit comments

Comments
 (0)