BUG-13829 Advanced Search current User column no muestra el Dato correcto
Cuando se tiene una derivación en Paralelo la columna Current User que se muestra en la bandeja Advanced Search no es el correcto.
This commit is contained in:
@@ -408,7 +408,7 @@ class Applications
|
||||
//Check also $distinct in the method getListCounters(), this in AppCacheView.php
|
||||
$distinct = true;
|
||||
|
||||
if (($action == "todo" || $action == "selfservice" || $action == "unassigned" || $action == "to_reassign" || $action == "to_revise") || ($status == "TO_DO")) {
|
||||
if (($action == "search" || $action == "todo" || $action == "selfservice" || $action == "unassigned" || $action == "to_reassign" || $action == "to_revise") || ($status == "TO_DO")) {
|
||||
$distinct = false;
|
||||
}
|
||||
|
||||
|
||||
@@ -1053,8 +1053,7 @@ class AppCacheView extends BaseAppCacheView
|
||||
if (!$doCount) {
|
||||
//Completed - getCompleted()
|
||||
$criteria->addGroupByColumn(AppCacheViewPeer::APP_UID);
|
||||
|
||||
//$criteria->addGroupByColumn(AppCacheViewPeer::USR_UID);
|
||||
$criteria->addGroupByColumn(AppCacheViewPeer::DEL_INDEX);
|
||||
}
|
||||
|
||||
return $criteria;
|
||||
|
||||
@@ -181,7 +181,7 @@ class AppProxy extends HttpProxyController
|
||||
throw new Exception( G::LoadTranslation( 'ID_NO_PERMISSION_NO_PARTICIPATED' ) );
|
||||
}
|
||||
|
||||
if (($httpData->action == 'sent') || ($httpData->action == 'search')){ // Get the last valid delegation for participated list
|
||||
if ($httpData->action == 'sent') { // Get the last valid delegation for participated list
|
||||
$criteria = new Criteria();
|
||||
$criteria->addSelectColumn(AppDelegationPeer::DEL_INDEX);
|
||||
$criteria->add(AppDelegationPeer::APP_UID, $httpData->appUid);
|
||||
|
||||
@@ -185,7 +185,11 @@ try {
|
||||
$row = $rs->getRow();
|
||||
|
||||
$_SESSION['APPLICATION'] = $sAppUid;
|
||||
$_SESSION['INDEX'] = $row['DEL_INDEX'];
|
||||
if($_action=='search'){
|
||||
$_SESSION['INDEX'] = $iDelIndex;
|
||||
} else {
|
||||
$_SESSION['INDEX'] = $row['DEL_INDEX'];
|
||||
}
|
||||
$_SESSION['PROCESS'] = $aFields['PRO_UID'];
|
||||
$_SESSION['TASK'] = - 1;
|
||||
//$Fields = $oCase->loadCase( $_SESSION['APPLICATION'], $_SESSION['INDEX'] );
|
||||
|
||||
Reference in New Issue
Block a user