This commit is contained in:
Paula Quispe
2018-08-20 14:42:36 -04:00
parent 9851537250
commit ba3cb42b01

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();