mirror of
https://github.com/espocrm/espocrm.git
synced 2026-03-03 02:27:01 +00:00
ref
This commit is contained in:
@@ -184,4 +184,9 @@ class Notification extends Entity
|
||||
{
|
||||
return $this->get('actionId');
|
||||
}
|
||||
|
||||
public function setGroupedCount(?string $groupedCount): self
|
||||
{
|
||||
return $this->set('groupedCount', $groupedCount);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -132,7 +132,7 @@ class RecordService
|
||||
$groupedCount = $groupedCountMap[$entity->getActionId()] ?? 0;
|
||||
}
|
||||
|
||||
$entity->set('groupedCount', $groupedCount);
|
||||
$entity->setGroupedCount($groupedCount);
|
||||
}
|
||||
|
||||
$collection = new EntityCollection([...$collection], Notification::ENTITY_TYPE);
|
||||
|
||||
Reference in New Issue
Block a user