HOR-131 "CLONE - Listado de casos Participados/enviados muestra..." SOLVED

Issue:
    CLONE - Listado de casos Participados/enviados muestra casos con usuario actual incorrecto
Cause:
    Se incluye el status TO_DO en la validacion del request
Solution:
    Se quita el status TO_DO en la validacion del request
This commit is contained in:
Victor Saisa Lopez
2016-01-29 14:06:48 -04:00
parent cac97031b6
commit e8fd8b3d98

View File

@@ -474,7 +474,7 @@ class Applications
$sort = ""; $sort = "";
//Current delegation (*) //Current delegation (*)
if (($action == "sent" || $action == "search" || $action == "simple_search" || $action == "to_revise" || $action == "to_reassign") && ($status != "TO_DO")) { if ($action == 'sent' || $action == 'simple_search' || $action == 'to_reassign') {
switch ($sortBk) { switch ($sortBk) {
case "APP_CACHE_VIEW.APP_CURRENT_USER": case "APP_CACHE_VIEW.APP_CURRENT_USER":
$sort = "USRCR_" . $conf->userNameFormatGetFirstFieldByUsersTable(); $sort = "USRCR_" . $conf->userNameFormatGetFirstFieldByUsersTable();
@@ -578,8 +578,8 @@ class Applications
$maxDataset->close(); $maxDataset->close();
}*/ }*/
//Current delegation (*) || $action == "search" || $action == "to_revise" //Current delegation (*)
if (($action == "sent" || $action == "simple_search" || $action == "to_reassign") && ($status != "TO_DO")) { if ($action == 'sent' || $action == 'simple_search' || $action == 'to_reassign') {
//Current task //Current task
$aRow["APP_TAS_TITLE"] = $aRow["APPDELCR_APP_TAS_TITLE"]; $aRow["APP_TAS_TITLE"] = $aRow["APPDELCR_APP_TAS_TITLE"];