From 3ab26a5235d8b1de977cae8ce3a0ae3897709104 Mon Sep 17 00:00:00 2001 From: Yurii Date: Wed, 11 Mar 2026 22:25:47 +0200 Subject: [PATCH] last viewed: display created --- application/Espo/Tools/ActionHistory/Service.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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')