From a46ecce6d05c39bd692a0bbf2096d4e5b1860e8c Mon Sep 17 00:00:00 2001 From: yuri Date: Tue, 21 Apr 2015 17:57:19 +0300 Subject: [PATCH] not held in history --- application/Espo/Modules/Crm/Services/Activities.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/application/Espo/Modules/Crm/Services/Activities.php b/application/Espo/Modules/Crm/Services/Activities.php index 07cc1022c6..41734ca165 100644 --- a/application/Espo/Modules/Crm/Services/Activities.php +++ b/application/Espo/Modules/Crm/Services/Activities.php @@ -396,8 +396,8 @@ class Activities extends \Espo\Core\Services\Base $fetchAll = empty($params['scope']); $parts = array( - 'Meeting' => ($fetchAll || $params['scope'] == 'Meeting') ? $this->getMeetingQuery($scope, $id, 'IN', array('Held')) : array(), - 'Call' => ($fetchAll || $params['scope'] == 'Call') ? $this->getCallQuery($scope, $id, 'IN', array('Held')) : array(), + 'Meeting' => ($fetchAll || $params['scope'] == 'Meeting') ? $this->getMeetingQuery($scope, $id, 'IN', array('Held', 'Not Held')) : array(), + 'Call' => ($fetchAll || $params['scope'] == 'Call') ? $this->getCallQuery($scope, $id, 'IN', array('Held', 'Not Held')) : array(), 'Email' => ($fetchAll || $params['scope'] == 'Email') ? $this->getEmailQuery($scope, $id, 'IN', array('Archived', 'Sent')) : array(), ); $result = $this->getResult($parts, $scope, $id, $params);