Skip to content

EspoCRM – Open Source CRM Application

notification: no action grouping if grouped

Yuriide544415f10a
diff --git a/application/Espo/Tools/Notification/RecordService.php b/application/Espo/Tools/Notification/RecordService.php
index bd6ae46fd1..94e5912a00 100644
--- a/application/Espo/Tools/Notification/RecordService.php
+++ b/application/Espo/Tools/Notification/RecordService.php
@@ -149,7 +149,7 @@ class RecordService
$entity->loadParentNameField(Notification::FIELD_RELATED_PARENT);
}
- if ($entity->getActionId() && $this->isActionGroupingEnabled()) {
+ if ($entity->getActionId() && $this->isActionGroupingEnabled() && !$this->isGroupingEnabled($user)) {
$actionIds[] = $entity->getActionId();
$groupedCount = $groupedCountMap[$entity->getActionId()] ?? 0;