@@ -281,7 +281,7 @@ function check_incorrect_cq_zones($result, $custom_date_format) { ?>
' . __("Mode") . ' |
' . __("Band") . ' |
' . __("Gridsquare") . ' |
-
' . __("CQ Zone") . ' |
+
' . __("CQ Zone") . ' |
' . __("DXCC CQ Zone") . ' |
' . __("DXCC") . ' |
' . __("Station") . ' |
@@ -357,7 +357,7 @@ function check_incorrect_itu_zones($result, $custom_date_format) { ?>
' . __("Mode") . ' |
' . __("Band") . ' |
' . __("Gridsquare") . ' |
-
' . __("ITU Zone") . ' |
+
' . __("ITU Zone") . ' |
' . __("DXCC ITU Zone") . ' |
' . __("DXCC") . ' |
' . __("Station") . ' |
diff --git a/assets/js/sections/logbookadvanced.js b/assets/js/sections/logbookadvanced.js
index cd7f2c125..d0ce657a4 100644
--- a/assets/js/sections/logbookadvanced.js
+++ b/assets/js/sections/logbookadvanced.js
@@ -2611,6 +2611,14 @@ function saveOptions() {
});
});
rebind_checkbox_trigger_cq_zone();
+
+ $('#forceMultiZoneUpdateCq').on('change', function() {
+ if ($(this).is(':checked')) {
+ $('#incorrectcqzonetable').DataTable().column(8).search('').draw();
+ $('#incorrectcqzonetable tbody input[type="checkbox"]').prop('checked', false);
+ $('#incorrectcqzonetable tbody tr.activeRow').removeClass('activeRow');
+ }
+ });
},
});
},
From e40324cbce8fd7c9b001f7406241310cb756e225 Mon Sep 17 00:00:00 2001
From: Andreas Kristiansen <6977712+AndreasK79@users.noreply.github.com>
Date: Wed, 31 Dec 2025 14:27:05 +0100
Subject: [PATCH 5/6] Fix checkbox logic for cq zones
---
assets/js/sections/logbookadvanced.js | 13 ++++++-------
1 file changed, 6 insertions(+), 7 deletions(-)
diff --git a/assets/js/sections/logbookadvanced.js b/assets/js/sections/logbookadvanced.js
index d0ce657a4..667a7419b 100644
--- a/assets/js/sections/logbookadvanced.js
+++ b/assets/js/sections/logbookadvanced.js
@@ -2613,11 +2613,10 @@ function saveOptions() {
rebind_checkbox_trigger_cq_zone();
$('#forceMultiZoneUpdateCq').on('change', function() {
- if ($(this).is(':checked')) {
- $('#incorrectcqzonetable').DataTable().column(8).search('').draw();
- $('#incorrectcqzonetable tbody input[type="checkbox"]').prop('checked', false);
- $('#incorrectcqzonetable tbody tr.activeRow').removeClass('activeRow');
- }
+ $('#incorrectcqzonetable').DataTable().column(8).search('').draw();
+ $('#checkBoxAllCqZones').prop('checked', false);
+ $('#incorrectcqzonetable tbody input[type="checkbox"]').prop('checked', false);
+ $('#incorrectcqzonetable tbody tr.activeRow').removeClass('activeRow');
});
},
});
@@ -2719,11 +2718,11 @@ function saveOptions() {
$('#checkBoxAllCqZones').change(function (event) {
if (this.checked) {
$('#incorrectcqzonetable tbody tr').each(function (i) {
- if (!$(this).first().closest('tr').find("td[id='cqZones']").text().includes(',') || $('#forceMultiZoneUpdate').prop("checked")) {
+ if (!$(this).first().closest('tr').find("td[id='cqZones']").text().includes(',') || $('#forceMultiZoneUpdateCq').prop("checked")) {
selectQsoIdDxcc($(this).first().closest('tr').attr('id')?.replace(/\D/g, ''), 'incorrectcqzonetable');
}
});
- if (!$('#forceMultiZoneUpdate').prop("checked")) {
+ if (!$('#forceMultiZoneUpdateCq').prop("checked")) {
$('#incorrectcqzonetable').DataTable().column(8).search('^[^,]*$', true, false).draw();
}
} else {
From 590e3724522895608cd56000d062afbf647513c0 Mon Sep 17 00:00:00 2001
From: Andreas Kristiansen <6977712+AndreasK79@users.noreply.github.com>
Date: Wed, 31 Dec 2025 14:30:41 +0100
Subject: [PATCH 6/6] Added logic for ITU zone checkbox too
---
assets/js/sections/logbookadvanced.js | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/assets/js/sections/logbookadvanced.js b/assets/js/sections/logbookadvanced.js
index 667a7419b..22c2c3fc4 100644
--- a/assets/js/sections/logbookadvanced.js
+++ b/assets/js/sections/logbookadvanced.js
@@ -2679,6 +2679,13 @@ function saveOptions() {
},
});
+ $('#forceMultiZoneUpdate').on('change', function() {
+ $('#incorrectituzonetable').DataTable().column(8).search('').draw();
+ $('#checkBoxAllItuZones').prop('checked', false);
+ $('#incorrectituzonetable tbody input[type="checkbox"]').prop('checked', false);
+ $('#incorrectituzonetable tbody tr.activeRow').removeClass('activeRow');
+ });
+
},
error: function(xhr, status, error) {
$('#checkIncorrectItuZonesBtn').prop("disabled", false).removeClass("running");