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')