From 52b5e45cb65dcb0744c8d964e3d9f4339b2cbfaa Mon Sep 17 00:00:00 2001 From: phl0 Date: Thu, 15 May 2025 10:11:58 +0200 Subject: [PATCH] Add Exch (S) to BLA edit function --- application/models/Logbookadvanced_model.php | 1 + application/views/logbookadvanced/edit.php | 1 + assets/js/sections/logbookadvanced_edit.js | 4 ++-- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/application/models/Logbookadvanced_model.php b/application/models/Logbookadvanced_model.php index 5c1970772..e1b3e4b25 100644 --- a/application/models/Logbookadvanced_model.php +++ b/application/models/Logbookadvanced_model.php @@ -781,6 +781,7 @@ class Logbookadvanced_model extends CI_Model { case "clublogreceived": $column = 'COL_CLUBLOG_QSO_DOWNLOAD_STATUS'; break; case "region": $column = 'COL_REGION'; break; case "distance": $column = 'COL_DISTANCE'; break; + case "stxstring": $column = 'COL_STX_STRING'; break; default: return; } diff --git a/application/views/logbookadvanced/edit.php b/application/views/logbookadvanced/edit.php index 19872d2bf..1e4ef5618 100644 --- a/application/views/logbookadvanced/edit.php +++ b/application/views/logbookadvanced/edit.php @@ -34,6 +34,7 @@ +
 
diff --git a/assets/js/sections/logbookadvanced_edit.js b/assets/js/sections/logbookadvanced_edit.js index 6aeb7e164..d385b6b4c 100644 --- a/assets/js/sections/logbookadvanced_edit.js +++ b/assets/js/sections/logbookadvanced_edit.js @@ -203,7 +203,7 @@ function saveBatchEditQsos(id_list) { if (column == 'region') { value = $("#editRegion").val(); } - if (column == 'sota' || column == 'pota' || column == 'wwff' || column == 'gridsquare' || column == 'comment' || column == 'operator' || column == 'qslvia' || column == 'qslmsg' || column == 'stationpower') { + if (column == 'sota' || column == 'pota' || column == 'wwff' || column == 'gridsquare' || column == 'comment' || column == 'operator' || column == 'qslvia' || column == 'qslmsg' || column == 'stationpower' || column == 'stxstring') { value = $("#editTextInput").val(); } if (column == 'distance') { @@ -306,7 +306,7 @@ function changeEditType(type) { $('#editEqsl').show(); } else if (type == "continent") { $('#editContinent').show(); - } else if (type == "gridsquare" || type == "sota" || type == "wwff" || type == "operator" || type == "pota" || type == "comment" || type == "qslvia" || type == "contest" || type == "qslmsg" || type == "stationpower") { + } else if (type == "gridsquare" || type == "sota" || type == "wwff" || type == "operator" || type == "pota" || type == "comment" || type == "qslvia" || type == "contest" || type == "qslmsg" || type == "stationpower" || type == 'stxstring') { $('#editTextInput').show(); } else if (type == "region") { $('#editRegion').show();