From ce2f494419fa45c683cb2b14f501d80b887c9234 Mon Sep 17 00:00:00 2001 From: Andreas Kristiansen <6977712+AndreasK79@users.noreply.github.com> Date: Fri, 20 Sep 2024 16:28:15 +0200 Subject: [PATCH] Filter out where sat name is not set --- application/models/Stats.php | 1 + 1 file changed, 1 insertion(+) diff --git a/application/models/Stats.php b/application/models/Stats.php index eab3503c9..e3dac56c5 100644 --- a/application/models/Stats.php +++ b/application/models/Stats.php @@ -530,6 +530,7 @@ from " . $this->config->item('table_name') . " where station_id in (". implode(',', $logbooks_locations_array) .") and col_prop_mode = 'SAT' + and coalesce(col_sat_name, '') <> '' group by upper(col_sat_name), col_mode, coalesce(col_submode, '')"; $result = $this->db->query($sql);