From 4233895432f23141c60843ee05e0868435cb2733 Mon Sep 17 00:00:00 2001 From: int2001 Date: Sat, 30 Sep 2023 10:49:19 +0000 Subject: [PATCH 1/2] Fix Gridsearch / QSO-Details --- application/models/Logbook_model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/models/Logbook_model.php b/application/models/Logbook_model.php index c22f063b..355545c0 100755 --- a/application/models/Logbook_model.php +++ b/application/models/Logbook_model.php @@ -352,7 +352,7 @@ class Logbook_model extends CI_Model { if ($searchmode == 'activated') { $this->db->where("station_gridsquare like '%" . $searchphrase . "%'"); } else { - $this->db->where("(COL_GRIDSQUARE like '%" . $searchphrase . "%' OR COL_VUCC_GRIDS like'%" . $searchphrase ."%')"); + $this->db->where("(COL_GRIDSQUARE like '" . $searchphrase . "%' OR COL_VUCC_GRIDS like '" . $searchphrase ."%')"); } break; case 'CQZone': From 6df75c356265420e720640a829b9a8f3358451e1 Mon Sep 17 00:00:00 2001 From: int2001 Date: Sat, 30 Sep 2023 11:59:52 +0000 Subject: [PATCH 2/2] Readded % for VUCC-Grids (because of multi-grids / confluence-points) --- application/models/Logbook_model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/models/Logbook_model.php b/application/models/Logbook_model.php index 355545c0..bc9d68d9 100755 --- a/application/models/Logbook_model.php +++ b/application/models/Logbook_model.php @@ -352,7 +352,7 @@ class Logbook_model extends CI_Model { if ($searchmode == 'activated') { $this->db->where("station_gridsquare like '%" . $searchphrase . "%'"); } else { - $this->db->where("(COL_GRIDSQUARE like '" . $searchphrase . "%' OR COL_VUCC_GRIDS like '" . $searchphrase ."%')"); + $this->db->where("(COL_GRIDSQUARE like '" . $searchphrase . "%' OR COL_VUCC_GRIDS like '%" . $searchphrase ."%')"); } break; case 'CQZone':