BUG 10538 Problema con el "Current Task Properties" en Participated y Advanced search SOLVED

- Para el advanced search ya estaba funcionando correctamente en la version 2.0.46
- Para el listado de Participated faltaba obtener la ultima delegacion
This commit is contained in:
Julio Cesar Laura
2013-01-29 13:49:31 -04:00
parent 30630069bb
commit c13f2d5d12

View File

@@ -172,9 +172,18 @@ try {
//when the case have another user or current user doesnt have rights to this selfservice, //when the case have another user or current user doesnt have rights to this selfservice,
//just view the case Resume //just view the case Resume
// Get DEL_INDEX
$criteria = new Criteria('workflow');
$criteria->addSelectColumn(AppDelegationPeer::DEL_INDEX);
$criteria->add(AppDelegationPeer::APP_UID, $sAppUid);
$criteria->add(AppDelegationPeer::DEL_LAST_INDEX , 1);
$rs = AppDelegationPeer::doSelectRS($criteria);
$rs->setFetchmode(ResultSet::FETCHMODE_ASSOC);
$rs->next();
$row = $rs->getRow();
$_SESSION['APPLICATION'] = $sAppUid; $_SESSION['APPLICATION'] = $sAppUid;
$_SESSION['INDEX'] = $iDelIndex; $_SESSION['INDEX'] = $row['DEL_INDEX'];
$_SESSION['PROCESS'] = $aFields['PRO_UID']; $_SESSION['PROCESS'] = $aFields['PRO_UID'];
$_SESSION['TASK'] = - 1; $_SESSION['TASK'] = - 1;
$Fields = $oCase->loadCase( $_SESSION['APPLICATION'], $_SESSION['INDEX'] ); $Fields = $oCase->loadCase( $_SESSION['APPLICATION'], $_SESSION['INDEX'] );