Updated checks ordering

This commit is contained in:
MatteoBiscosi 2022-10-20 11:04:56 +02:00
parent 91e8ae8f04
commit 6106cbad65
4 changed files with 24 additions and 8 deletions

View file

@ -104,7 +104,6 @@ jQuery.extend(jQuery.fn.dataTableExt.oSort, {
"bytes-asc": function (a, b) {
return ((a < b) ? -1 : ((a > b) ? 1 : 0));
},
"bytes-desc": function (a, b) {
return ((a < b) ? 1 : ((a > b) ? -1 : 0));
}
@ -143,6 +142,9 @@ jQuery.fn.dataTable.ext.type.order['severity-pre'] = function ( data ) {
}
var lowerData = data.toLowerCase()
var iclassIndex = data.indexOf('<')
lowerData = lowerData.slice(0, iclassIndex - 1)
var severities = [
'',
'none',