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) {