Skip to content
Snippets Groups Projects
Commit 9ec41f44 authored by Hahn Axel (hahn)'s avatar Hahn Axel (hahn)
Browse files

fix sort by exectime and ttl

parent aeeb83fc
Branches 6404-sort-integer-columns
No related tags found
1 merge request!12fix sort by exectime and ttl
......@@ -212,12 +212,14 @@ class cronlogrenderer extends cronlog{
. '<td'
.($aEntry['SCRIPTEXECTIME']>$this->_iMinTime4Timeline ? ' class="message-warning"' : '' )
. '>'
.'<span style="display: none">'.str_pad((int)$aEntry['SCRIPTEXECTIME'], 6, '0', STR_PAD_LEFT).'</span>'
.(int)$aEntry['SCRIPTEXECTIME'].'s'
.((int)$aEntry['SCRIPTEXECTIME']>100 ? ' ('.round((int)$aEntry['SCRIPTEXECTIME']/60).'min)' : '')
.'</td>'
. '<td'
.($aEntry['SCRIPTTTL']<$this->_iMinTtl ? ' class="message-warning" title="(using minimal TTL = '.$this->_iMinTtl.' min)"' : '')
. '>'
.'<span style="display: none">'.str_pad((int)$aEntry['SCRIPTTTL'], 6, '0', STR_PAD_LEFT).'</span>'
.$aEntry['SCRIPTTTL']
.$sTtlHr
.'</td>'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment