diff --git a/application/models/Stats.php b/application/models/Stats.php index 54c93dfb5..381ac2d93 100644 --- a/application/models/Stats.php +++ b/application/models/Stats.php @@ -1184,7 +1184,7 @@ return null; } - $sql = "select thcv.col_call, thcv.col_time_on, thcv.col_band, thcv.col_mode, thcv.col_submode, thcv.col_primary_key, thcv.col_vucc_grids, thcv.col_gridsquare, thcv.col_distance FROM ". $this->config->item('table_name') . " thcv"; + $sql = "select thcv.col_call, thcv.col_time_on, thcv.col_band, thcv.col_mode, thcv.col_submode, thcv.col_primary_key, thcv.col_vucc_grids, thcv.col_gridsquare, thcv.col_distance, thcv.col_state FROM ". $this->config->item('table_name') . " thcv"; $sql .= " join (SELECT col_call, min(col_time_on) firstworked, col_band, min(col_primary_key) qsoid FROM ".$this->config->item('table_name'); diff --git a/application/views/statistics/initialresult.php b/application/views/statistics/initialresult.php index 89aacc369..e4970a679 100644 --- a/application/views/statistics/initialresult.php +++ b/application/views/statistics/initialresult.php @@ -18,6 +18,7 @@ if ($intials_array) { ' . __("Band") . ' ' . __("Mode") . ' ' . __("Gridsquare") . ' + ' . __("State") . ' ' . __("Distance") . ' @@ -33,6 +34,7 @@ if ($intials_array) { ' . $line->col_band . ' ' . (empty($line->col_submode) ? ($line->col_mode ?? '') : $line->col_submode) . ' ' . (empty($line->col_vucc_grids) ? ($line->col_gridsquare ?? '') : $line->col_vucc_grids) . ' + ' . $line->col_state . ' '.sprintf("%.01f", (floatval($line->col_distance) * $factor)); echo ' '.$unit.' '; } diff --git a/application/views/statistics/initials.php b/application/views/statistics/initials.php index 66c166cc9..9ffc28577 100644 --- a/application/views/statistics/initials.php +++ b/application/views/statistics/initials.php @@ -1,5 +1,5 @@
-

+