From 43cdd60a1bd100488f0f1bbc665645039a182fa4 Mon Sep 17 00:00:00 2001 From: phl0 Date: Tue, 12 Dec 2023 15:15:49 +0100 Subject: [PATCH 1/2] Check for empty LoTW/eQSL dates and catch the error --- application/views/view_log/qso.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/application/views/view_log/qso.php b/application/views/view_log/qso.php index 3b6f1c9e..1ba11ffd 100644 --- a/application/views/view_log/qso.php +++ b/application/views/view_log/qso.php @@ -359,12 +359,12 @@

: '; ?>lastupload); echo date($custom_date_format, $timestamp); $timestamp = strtotime($row->lastupload); echo " ".date('H:i', $timestamp);?> UTC.

- COL_LOTW_QSL_RCVD == "Y") { ?> + COL_LOTW_QSL_RCVD == "Y" && $row->COL_LOTW_QSLRDATE != null) { ?>

COL_LOTW_QSLRDATE); echo date($custom_date_format, $timestamp); ?>.

- COL_EQSL_QSL_RCVD == "Y") { ?> + COL_EQSL_QSL_RCVD == "Y" && $row->COL_EQSL_QSLRDATE != null) { ?>

eQSL

COL_EQSL_QSLRDATE); echo date($custom_date_format, $timestamp); ?>.

From c2703dcd98d8ccf66ecc3deee4ac77800527b011 Mon Sep 17 00:00:00 2001 From: HB9HIL Date: Tue, 12 Dec 2023 15:41:54 +0100 Subject: [PATCH 2/2] paging on qso data instead scrolling --- application/views/interface_assets/footer.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/application/views/interface_assets/footer.php b/application/views/interface_assets/footer.php index bf931685..5a1cd98e 100644 --- a/application/views/interface_assets/footer.php +++ b/application/views/interface_assets/footer.php @@ -2503,12 +2503,12 @@ function viewEqsl(picture, callsign) { onshown: function(dialog) { $('[data-bs-toggle="tooltip"]').tooltip(); $('.contacttable').DataTable({ - "pageLength": 25, + "pageLength": 7, responsive: false, ordering: false, "scrollY": "550px", "scrollCollapse": true, - "paging": false, + "paging": true, "scrollX": true, dom: 'Bfrtip', buttons: [