From 6432c7a6e6f71c3e0744cfd527fb08c0bd0ac3f7 Mon Sep 17 00:00:00 2001 From: phl0 Date: Tue, 15 Feb 2022 22:45:10 +0100 Subject: [PATCH] Fix detailed QSO listing --- application/models/Logbook_model.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/application/models/Logbook_model.php b/application/models/Logbook_model.php index 7052b210..ef92267e 100755 --- a/application/models/Logbook_model.php +++ b/application/models/Logbook_model.php @@ -271,7 +271,7 @@ class Logbook_model extends CI_Model { $this->db->where("(COL_GRIDSQUARE like '%" . $searchphrase . "%' OR COL_VUCC_GRIDS like'%" . $searchphrase ."%')"); break; case 'GridActivator': - $this->db->where("(COL_MY_GRIDSQUARE like '%" . $searchphrase . "%')"); + $this->db->where("(COL_MY_GRIDSQUARE like '%" . $searchphrase . "%' OR COL_MY_VUCC_GRIDS like'%" . $searchphrase ."%')"); break; case 'CQZone': $this->db->where('COL_CQZ', $searchphrase); @@ -289,7 +289,9 @@ class Logbook_model extends CI_Model { break; } - $this->db->where_in('station_id', $logbooks_locations_array); + if ($type != 'GridActivator') { + $this->db->where_in('station_id', $logbooks_locations_array); + } if ($band != 'All') { if($band != "SAT") {