EspoCRM – Open Source CRM Application
PHP calendarcontactscrmcrm-platformcrm-systemcustomer-portalcustomer-supportcustomizabledocumentsemail-marketingkanbanleadsopen-sourcephpplatformsales-automationsingle-page-applicationsupport
group collaborating notification
Yuriiea7bc69f4e89
diff --git a/application/Espo/Tools/Notification/CollaboratorsNotificator.php b/application/Espo/Tools/Notification/CollaboratorsNotificator.phpindex e1eec02f2d..2aede4b340 100644--- a/application/Espo/Tools/Notification/CollaboratorsNotificator.php+++ b/application/Espo/Tools/Notification/CollaboratorsNotificator.php@@ -80,6 +80,8 @@ class CollaboratorsNotificator'createdByName' => $this->user->getName(),])->setRelated(LinkParent::fromEntity($entity))+ // Needed for grouping.+ ->setRelatedParent(LinkParent::fromEntity($entity))->setActionId($params->getActionId());$this->entityManager->saveEntity($notification);diff --git a/application/Espo/Tools/Notification/RecordService.php b/application/Espo/Tools/Notification/RecordService.phpindex 7ad0e11c79..e835ff949d 100644--- a/application/Espo/Tools/Notification/RecordService.php+++ b/application/Espo/Tools/Notification/RecordService.php@@ -924,6 +924,7 @@ class RecordServicereturn [Notification::TYPE_NOTE,Notification::TYPE_USER_REACTION,+ Notification::TYPE_COLLABORATING,'EventAttendee',];}