From d30505492ba6066a329f7b07390a2e033d085c91 Mon Sep 17 00:00:00 2001 From: Andreas Kristiansen <6977712+AndreasK79@users.noreply.github.com> Date: Tue, 30 Jul 2024 08:28:08 +0200 Subject: [PATCH] Fix sat query --- application/models/Stats.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/models/Stats.php b/application/models/Stats.php index e68fffc51..f873763c8 100644 --- a/application/models/Stats.php +++ b/application/models/Stats.php @@ -530,7 +530,7 @@ from " . $this->config->item('table_name') . " where station_id in (". implode(',', $logbooks_locations_array) .") and col_prop_mode = 'SAT' - group by upper(col_band), col_mode, coalesce(col_submode, '')"; + group by upper(col_sat_name), col_mode, coalesce(col_submode, '')"; $result = $this->db->query($sql); return $result->result();