Loading htdocs/assets/js/code.js +18 −0 Original line number Diff line number Diff line Loading @@ -19,6 +19,24 @@ jQuery.extend( jQuery.fn.dataTableExt.oSort, { } }); // // To allow reseting the sort options, ref https://stackoverflow.com/questions/27008837/jquery-datatable-reset-sorting // jQuery.fn.dataTableExt.oApi.fnSortNeutral = function ( oSettings ) // { // /* Remove any current sorting */ // oSettings.aaSorting = []; // /* Sort display arrays so we get them in numerical order */ // oSettings.aiDisplay.sort( function (x,y) { // return x-y; // } ); // oSettings.aiDisplayMaster.sort( function (x,y) { // return x-y; // } ); // /* Redraw */ // oSettings.oApi._fnReDraw( oSettings ); // }; function updateFilters() { $(".smartphone-table tr").filter(function() { $(this).toggle(true) Loading Loading
htdocs/assets/js/code.js +18 −0 Original line number Diff line number Diff line Loading @@ -19,6 +19,24 @@ jQuery.extend( jQuery.fn.dataTableExt.oSort, { } }); // // To allow reseting the sort options, ref https://stackoverflow.com/questions/27008837/jquery-datatable-reset-sorting // jQuery.fn.dataTableExt.oApi.fnSortNeutral = function ( oSettings ) // { // /* Remove any current sorting */ // oSettings.aaSorting = []; // /* Sort display arrays so we get them in numerical order */ // oSettings.aiDisplay.sort( function (x,y) { // return x-y; // } ); // oSettings.aiDisplayMaster.sort( function (x,y) { // return x-y; // } ); // /* Redraw */ // oSettings.oApi._fnReDraw( oSettings ); // }; function updateFilters() { $(".smartphone-table tr").filter(function() { $(this).toggle(true) Loading