Skip to content

EspoCRM – Open Source CRM Application

last viewed: display created

Yurii3ab26a5235d8
diff --git a/application/Espo/Tools/ActionHistory/Service.php b/application/Espo/Tools/ActionHistory/Service.php
index d11c004ef8..80b49d4ebd 100644
--- a/application/Espo/Tools/ActionHistory/Service.php
+++ b/application/Espo/Tools/ActionHistory/Service.php
@@ -69,7 +69,7 @@ class Service
->getRDBRepositoryByClass(ActionHistoryRecord::class)
->where([
'userId' => $this->user->getId(),
- 'action' => Action::READ,
+ 'action' => [Action::READ, Action::CREATE],
'targetType' => $targetTypeList,
])
->order('MAX:' . Field::CREATED_AT, 'DESC')