From fe27baabfbd71f15de1a8292f167bbf43c5456f1 Mon Sep 17 00:00:00 2001 From: Andreas <6977712+AndreasK79@users.noreply.github.com> Date: Sun, 18 Jun 2023 21:48:54 +0200 Subject: [PATCH] [QSO Data] Added LoTW badge in QSO list popup --- application/models/Logbook_model.php | 1 + application/views/view_log/partial/log_ajax.php | 1 + 2 files changed, 2 insertions(+) diff --git a/application/models/Logbook_model.php b/application/models/Logbook_model.php index db8771de..bb5c0a06 100755 --- a/application/models/Logbook_model.php +++ b/application/models/Logbook_model.php @@ -314,6 +314,7 @@ class Logbook_model extends CI_Model { $this->db->join('station_profile', 'station_profile.station_id = '.$this->config->item('table_name').'.station_id'); $this->db->join('dxcc_entities', 'dxcc_entities.adif = '.$this->config->item('table_name').'.COL_DXCC', 'left outer'); + $this->db->join('lotw_users', 'lotw_users.callsign = '.$this->config->item('table_name').'.col_call', 'left outer'); switch ($type) { case 'DXCC': $this->db->where('COL_COUNTRY', $searchphrase); diff --git a/application/views/view_log/partial/log_ajax.php b/application/views/view_log/partial/log_ajax.php index ab48725a..cb4ea12e 100644 --- a/application/views/view_log/partial/log_ajax.php +++ b/application/views/view_log/partial/log_ajax.php @@ -99,6 +99,7 @@ function echoQrbCalcLink($mygrid, $grid, $vucc) {