update Labels

This commit is contained in:
Paula Quispe
2017-02-13 14:50:48 -04:00
parent d1d14829a6
commit f5c3808f5d
4 changed files with 9 additions and 9 deletions

View File

@@ -152,10 +152,10 @@ class workspaceTools
CLI::logging("<*> Migrating Self-Service records Process took " . ($stop - $start) . " seconds.\n"); CLI::logging("<*> Migrating Self-Service records Process took " . ($stop - $start) . " seconds.\n");
$start = microtime(true); $start = microtime(true);
CLI::logging("> Migrating and populating indexing for APP_CACHE_VIEW...\n"); CLI::logging("> Migrating and populating indexing for avoiding the use of table APP_CACHE_VIEW...\n");
$this->migratePopulateIndexingACV($workSpace); $this->migratePopulateIndexingACV($workSpace);
$stop = microtime(true); $stop = microtime(true);
CLI::logging("<*> Migrating an populating indexing for APP_CACHE_VIEW process took " . ($stop - $start) . " seconds.\n"); CLI::logging("<*> Migrating an populating indexing for avoiding the use of table APP_CACHE_VIEW process took " . ($stop - $start) . " seconds.\n");
} }
/** /**
@@ -3507,7 +3507,7 @@ class workspaceTools
public function migratePopulateIndexingACV($workspace) { public function migratePopulateIndexingACV($workspace) {
// Migrating and populating new indexes // Migrating and populating new indexes
CLI::logging("-> Migrating And Populating Indexing for APP_CACHE_VIEW Start \n"); CLI::logging("-> Migrating an populating indexing for avoiding the use of table APP_CACHE_VIEW Start \n");
// Initializing // Initializing
$this->initPropel(true); $this->initPropel(true);
@@ -3584,7 +3584,7 @@ class workspaceTools
APP_STATUS_ID = 0"); APP_STATUS_ID = 0");
$con->commit(); $con->commit();
CLI::logging("-> Migrating And Populating Indexing for APP_CACHE_VIEW Done \n"); CLI::logging("-> Migrating And Populating Indexing for avoiding the use of table APP_CACHE_VIEW Done \n");
} }
} }

View File

@@ -362,7 +362,7 @@ class ListInbox extends BaseListInbox
break; break;
case 'to_reassign': case 'to_reassign':
$criteria->add( ListInboxPeer::APP_STATUS, 'TO_DO', Criteria::EQUAL ); $criteria->add( ListInboxPeer::APP_STATUS, 'TO_DO', Criteria::EQUAL );
if($usrUid !== ''){ if ($usrUid !== '') {
$criteria->add( ListInboxPeer::USR_UID, $usrUid, Criteria::EQUAL ); $criteria->add( ListInboxPeer::USR_UID, $usrUid, Criteria::EQUAL );
} }
break; break;

View File

@@ -179,7 +179,7 @@ if ($actionAjax == "processListExtJs") {
while ($oDataset->next()) { while ($oDataset->next()) {
$aRow = $oDataset->getRow(); $aRow = $oDataset->getRow();
if(!isset($aRow['PRO_UID'])){ if (!isset($aRow['PRO_UID'])) {
$aRow['PRO_UID'] = $aRow['PRO_ID']; $aRow['PRO_UID'] = $aRow['PRO_ID'];
} }
$processes[] = $aRow; $processes[] = $aRow;

View File

@@ -32,11 +32,11 @@ try {
$openApplicationUid = (isset($_REQUEST['openApplicationUid']) && $_REQUEST['openApplicationUid'] != '') ? $_REQUEST['openApplicationUid'] : null; $openApplicationUid = (isset($_REQUEST['openApplicationUid']) && $_REQUEST['openApplicationUid'] != '') ? $_REQUEST['openApplicationUid'] : null;
//Define user when is reassign //Define user when is reassign
if($filters['action'] == 'to_reassign') { if ($filters['action'] == 'to_reassign') {
if($filters['user'] == '' ){ if ($filters['user'] == '' ) {
$userUid = ''; $userUid = '';
} }
if($filters['user'] !== '' && $filters['user'] !== 'CURRENT_USER'){ if ($filters['user'] !== '' && $filters['user'] !== 'CURRENT_USER') {
$userUid = $filters['user']; $userUid = $filters['user'];
} }
} }