Merged in bugfix/HOR-4406 (pull request #6586)

HOR-4406

Approved-by: Julio Cesar Laura Avendaño <contact@julio-laura.com>
This commit is contained in:
Paula Quispe
2018-08-21 15:41:11 +00:00
committed by Julio Cesar Laura Avendaño

View File

@@ -4531,11 +4531,14 @@ class Cases
$appDelay = new AppDelay(); $appDelay = new AppDelay();
$appDelay->create($newData); $appDelay->create($newData);
//update searchindex //Update searchindex
if ($this->appSolr != null) { if ($this->appSolr != null) {
$this->appSolr->updateApplicationSearchIndex($appUid); $this->appSolr->updateApplicationSearchIndex($appUid);
} }
//Execute trigger
$this->getExecuteTriggerProcess($appUid, 'REASSIGNED');
/*----------------------------------********---------------------------------*/ /*----------------------------------********---------------------------------*/
$participated = new ListParticipatedLast(); $participated = new ListParticipatedLast();
$participated->remove($newData['APP_UID'], $newUserUid, $delIndex); $participated->remove($newData['APP_UID'], $newUserUid, $delIndex);
@@ -4555,9 +4558,7 @@ class Cases
$criteriaSet = new Criteria("workflow"); $criteriaSet = new Criteria("workflow");
$criteriaSet->add(ListInboxPeer::DEL_INDEX, $newData['DEL_INDEX']); $criteriaSet->add(ListInboxPeer::DEL_INDEX, $newData['DEL_INDEX']);
BasePeer::doUpdate($criteriaWhere, $criteriaSet, Propel::getConnection("workflow")); BasePeer::doUpdate($criteriaWhere, $criteriaSet, Propel::getConnection("workflow"));
/*----------------------------------********---------------------------------*/ /*----------------------------------********---------------------------------*/
$this->getExecuteTriggerProcess($appUid, 'REASSIGNED');
//Delete record of the table LIST_UNASSIGNED //Delete record of the table LIST_UNASSIGNED
$unassigned = new ListUnassigned(); $unassigned = new ListUnassigned();