BUG 11283 Simplified Interface not reflecting minutes SOLVED

- When this mode user experience, doesn't displays the date.
- Validation casesList settings configuration  for user experience.
This commit is contained in:
Hector Cortez
2013-07-25 11:14:29 -04:00
parent 4fa6c72570
commit 8664e0ac97
2 changed files with 10 additions and 9 deletions

17
workflow/engine/classes/class.applications.php Normal file → Executable file
View File

@@ -16,7 +16,8 @@ class Applications
$callback = null, $callback = null,
$dir = null, $dir = null,
$sort = "APP_CACHE_VIEW.APP_NUMBER", $sort = "APP_CACHE_VIEW.APP_NUMBER",
$category = null $category = null,
$configuration = true
) { ) {
$callback = isset($callback)? $callback : "stcCallback1001"; $callback = isset($callback)? $callback : "stcCallback1001";
$dir = isset($dir)? $dir : "DESC"; $dir = isset($dir)? $dir : "DESC";
@@ -45,11 +46,12 @@ class Applications
$oAppCache = new AppCacheView(); $oAppCache = new AppCacheView();
//get data configuration if ($configuration == true) {
$conf = new Configurations(); //get data configuration
$confCasesList = $conf->getConfiguration("casesList", ($action == "search" || $action == "simple_search")? "search" : $action); $conf = new Configurations();
$oAppCache->confCasesList = $confCasesList; $confCasesList = $conf->getConfiguration("casesList", ($action == "search" || $action == "simple_search")? "search" : $action);
$oAppCache->confCasesList = $confCasesList;
}
// get the action based list // get the action based list
switch ($action) { switch ($action) {
case "draft": case "draft":
@@ -440,8 +442,7 @@ class Applications
$result = array (); $result = array ();
$result['totalCount'] = $totalCount; $result['totalCount'] = $totalCount;
$rows = array (); $rows = array ();
$aPriorities = array ('1' => 'VL','2' => 'L','3' => 'N','4' => 'H','5' => 'VH' $aPriorities = array ('1' => 'VL','2' => 'L','3' => 'N','4' => 'H','5' => 'VH');
);
$index = $start; $index = $start;
while ($aRow = $oDataset->getRow()) { while ($aRow = $oDataset->getRow()) {
//$aRow = $oAppCache->replaceRowUserData($aRow); //$aRow = $oAppCache->replaceRowUserData($aRow);

View File

@@ -320,7 +320,7 @@ class Home extends Controller
break; break;
} }
$cases = $apps->getAll( $user, $start, $limit, $type, $filter, $search, $process, $status, $type, $dateFrom, $dateTo, $callback, $dir, $sort, $category); $cases = $apps->getAll( $user, $start, $limit, $type, $filter, $search, $process, $status, $type, $dateFrom, $dateTo, $callback, $dir, $sort, $category, false);
// formating & complitting apps data with 'Notes' // formating & complitting apps data with 'Notes'
foreach ($cases['data'] as $i => $row) { foreach ($cases['data'] as $i => $row) {