From f8c3b7fe3a0f1eebc5e270bcdf99f0b5062a2432 Mon Sep 17 00:00:00 2001 From: int2001 Date: Sun, 16 Feb 2025 06:58:15 +0000 Subject: [PATCH] Workaround for dtable-error --- assets/js/sections/hamsat.js | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/assets/js/sections/hamsat.js b/assets/js/sections/hamsat.js index a8846b80e..7c43b10cf 100644 --- a/assets/js/sections/hamsat.js +++ b/assets/js/sections/hamsat.js @@ -68,9 +68,15 @@ function loadActivationsTable(rows, show_workable_only) { $.fn.dataTable.moment(custom_date_format); $(this).DataTable({ "pageLength": 25, - "columnDefs": [{ - "targets": [8, 9, 10], "orderable": false - }], + "columnDefs": [ + { + "defaultContent": "-", + "targets": "_all" + },{ + "targets": [8, 9, 10], + "orderable": false + } + ], searching: true, responsive: false, ordering: true,