This commit is contained in:
Paula Quispe
2017-03-06 10:48:18 -04:00
parent bf403d7a41
commit bc8453fcd3
3 changed files with 37 additions and 1 deletions

View File

@@ -90,6 +90,10 @@ foreach ($_GET as $k => $v) {
}
if( isset($_GET['action']) && ($_GET['action'] == 'jump') ) {
$oNewCase = new \ProcessMaker\BusinessModel\Cases();
//We need to get the last index OPEN or CLOSED (by Paused cases)
//Set true because we need to check if the case is paused
$delIndex = $oNewCase->getOneLastThread($appUid, true);
$case = $oCase->loadCase( $appUid, $delIndex, $_GET['action']);
} else {
$case = $oCase->loadCase( $appUid, $delIndex );