From 310736d18f2faf5aec5b57eb4179a056b3afc217 Mon Sep 17 00:00:00 2001 From: phl0 Date: Thu, 26 Oct 2023 23:30:48 +0200 Subject: [PATCH] Show number of unassigned QSOs in Maintenance --- application/models/Logbook_model.php | 2 +- application/views/maintenance/main.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/application/models/Logbook_model.php b/application/models/Logbook_model.php index 90bdad19..6a48fbcc 100755 --- a/application/models/Logbook_model.php +++ b/application/models/Logbook_model.php @@ -4112,7 +4112,7 @@ function check_if_callsign_worked_in_logbook($callsign, $StationLocationsArray = $this->db->where('station_id =', NULL); $query = $this->db->get($this->config->item('table_name')); if($query->num_rows() >= 1) { - return 1; + return $query->num_rows(); } else { return 0; } diff --git a/application/views/maintenance/main.php b/application/views/maintenance/main.php index fef8627d..1cc03355 100644 --- a/application/views/maintenance/main.php +++ b/application/views/maintenance/main.php @@ -15,7 +15,7 @@ = 1) { ?>

Please reassign those QSOs to an existing station location: