update Labels
This commit is contained in:
@@ -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");
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
@@ -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'];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user