From d70f27847468b00375febd3c21dc17cf4fe58fae Mon Sep 17 00:00:00 2001 From: Peter Goodhall Date: Thu, 7 Sep 2023 13:41:51 +0100 Subject: [PATCH] Update Logbookadvanced_model.php --- application/models/Logbookadvanced_model.php | 1 + 1 file changed, 1 insertion(+) diff --git a/application/models/Logbookadvanced_model.php b/application/models/Logbookadvanced_model.php index d3f1eddf..bccaf06d 100644 --- a/application/models/Logbookadvanced_model.php +++ b/application/models/Logbookadvanced_model.php @@ -235,6 +235,7 @@ class Logbookadvanced_model extends CI_Model { $sql = " SELECT qsos.*, d2.*, lotw_users.*, station_profile.*, x.qslcount, dxcc_entities.name AS station_country FROM " . $this->config->item('table_name') . " qsos + DISTINCT qsos.COL_PRIMARY_KEY, INNER JOIN station_profile ON qsos.station_id = station_profile.station_id LEFT OUTER JOIN dxcc_entities ON qsos.COL_MY_DXCC = dxcc_entities.adif LEFT OUTER JOIN dxcc_entities d2 ON qsos.COL_DXCC = d2.adif