From 4e1b398d64698a4a2226c80cfab938d55498adc4 Mon Sep 17 00:00:00 2001 From: Andreas <6977712+AndreasK79@users.noreply.github.com> Date: Sun, 28 Aug 2022 09:30:09 +0200 Subject: [PATCH] [Custom Map] Fixed filtering query with group. All QSOs would load without --- application/models/Logbook_model.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/application/models/Logbook_model.php b/application/models/Logbook_model.php index b4c4f94a..ea75ae8e 100755 --- a/application/models/Logbook_model.php +++ b/application/models/Logbook_model.php @@ -1306,8 +1306,10 @@ class Logbook_model extends CI_Model { } if ($mode != 'All') { + $this->db->group_start(); $this->db->where("COL_MODE", $mode); $this->db->or_where("COL_SUBMODE", $mode); + $this->db->group_end(); } if ($propagation != 'All') {