From 164a395b761b634ddaf0c557f2877bfdc221aea6 Mon Sep 17 00:00:00 2001 From: Andreas <6977712+AndreasK79@users.noreply.github.com> Date: Sat, 22 May 2021 08:47:24 +0200 Subject: [PATCH] [Award US counties] A small SQL fix if when sql_mode=only_full_group_by is on. Fixed #1037 --- application/models/Counties.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/models/Counties.php b/application/models/Counties.php index 7df46527..7d6c55c3 100644 --- a/application/models/Counties.php +++ b/application/models/Counties.php @@ -47,7 +47,7 @@ class Counties extends CI_Model " and COL_DXCC in ('291', '6', '110') and coalesce(COL_CNTY, '') <> '' and COL_BAND != 'SAT' - group by thcv.COL_STATE + group by thcv.COL_STATE, countycountconfirmed order by thcv.COL_STATE"; $query = $this->db->query($sql);