Move error level (warning, error, ...) to first column
in BE to help catch the importance of the row.
Change-Id: I05f05b830cc92bddfb13126d0fe4826995783bc8
Resolves: #33816
Releases: 4.7
Reviewed-on: http://review.typo3.org/3170
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Stefan Neufeind
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
*/
function initArray() {
$codeArr = array();
+ $codeArr[0][] = 'Error';
$codeArr[0][] = 'Time'; // Time
$codeArr[0][] = 'User';
$codeArr[0][] = 'Type';
- $codeArr[0][] = 'Error';
$codeArr[0][] = 'Action';
$codeArr[0][] = 'Details';
return $codeArr;
}
$i++;
+ $codeArr[$i][] = $row['error'] ? $this->displayLogInstance->getErrorIcon($row['error']) : '';
$codeArr[$i][] = $this->displayLogInstance->getTimeLabel($row['tstamp']);
$codeArr[$i][] = $this->displayLogInstance->getUserLabel($row['userid'], $row['workspace']);
$codeArr[$i][] = $this->displayLogInstance->getTypeLabel($row['type']);
- $codeArr[$i][] = $row['error'] ? $this->displayLogInstance->getErrorIcon($row['error']) : '';
$codeArr[$i][] = $this->displayLogInstance->getActionLabel($row['type'] . '_' . $row['action']);
$codeArr[$i][] = $this->displayLogInstance->formatDetailsForList($row);
}