|
|
@ -18,6 +18,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
jQuery.extend( jQuery.fn.dataTableExt.oSort, {
|
|
|
|
jQuery.extend( jQuery.fn.dataTableExt.oSort, {
|
|
|
|
"ip-address-pre": function ( a ) {
|
|
|
|
"ip-address-pre": function ( a ) {
|
|
|
|
|
|
|
|
if (!a) { return 0 }
|
|
|
|
var i, item;
|
|
|
|
var i, item;
|
|
|
|
var m = a.split("."),
|
|
|
|
var m = a.split("."),
|
|
|
|
n = a.split(":"),
|
|
|
|
n = a.split(":"),
|
|
|
@ -100,4 +101,4 @@ jQuery.extend( jQuery.fn.dataTableExt.oSort, {
|
|
|
|
"ip-address-desc": function ( a, b ) {
|
|
|
|
"ip-address-desc": function ( a, b ) {
|
|
|
|
return ((a < b) ? 1 : ((a > b) ? -1 : 0));
|
|
|
|
return ((a < b) ? 1 : ((a > b) ? -1 : 0));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
});
|
|
|
|
});
|
|
|
|