From 9e6ed4c65ba1949267ddd17f6c4e9badbc6a39cf Mon Sep 17 00:00:00 2001 From: phl0 Date: Sat, 7 Oct 2023 22:28:01 +0200 Subject: [PATCH] Also lookup VUCC_GRIDS for hams.at grids --- application/models/Logbook_model.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/application/models/Logbook_model.php b/application/models/Logbook_model.php index bc9d68d9..23787e0a 100755 --- a/application/models/Logbook_model.php +++ b/application/models/Logbook_model.php @@ -1777,7 +1777,10 @@ function check_if_callsign_worked_in_logbook($callsign, $StationLocationsArray = $this->db->select('COL_GRIDSQUARE'); $this->db->where_in('station_id', $logbooks_locations_array); + $this->db->group_start(); $this->db->like('COL_GRIDSQUARE', $grid); + $this->db->or_like('COL_VUCC_GRIDS', $grid); + $this->db->group_end(); if($band != null && $band != 'SAT') { $this->db->where('COL_BAND', $band);