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

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

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

View File

@@ -320,7 +320,7 @@ class Home extends Controller
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'
foreach ($cases['data'] as $i => $row) {