Skip to content

Commit

Permalink
f
Browse files Browse the repository at this point in the history
  • Loading branch information
f18m committed Oct 12, 2024
1 parent 61cb3cc commit 41aea62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dhcp-clients-webapp-backend/templates/index.templ.html
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
function initTable() {
console.log("Initializing datatables.net table");

// custom sorting for stuff with format HH:MM:SS
// custom sorting for content formatted as HH:MM:SS
$.fn.dataTable.ext.order['custom-time-order'] = function (settings, colIndex) {
return this.api().column(colIndex, { order: 'index' }).nodes().map(function (td, i) {
var time = $(td).text().split(':');
Expand Down

0 comments on commit 41aea62

Please sign in to comment.