Fix continent filter

This commit is contained in:
Andreas Kristiansen
2026-02-27 10:51:47 +01:00
parent 896718de11
commit b186c1595f

View File

@@ -278,6 +278,7 @@ class DXCC extends CI_Model {
MAX(case when thcv.COL_QRZCOM_QSO_DOWNLOAD_STATUS= 'Y' then 1 else 0 end) as qrz,
MAX(case when thcv.COL_CLUBLOG_QSO_DOWNLOAD_STATUS = 'Y' then 1 else 0 end) as clublog
FROM " . $this->config->item('table_name') . " thcv
join dxcc_entities on thcv.col_dxcc = dxcc_entities.adif
WHERE station_id IN (" . $location_list . ") AND thcv.col_dxcc > 0";
// Mode filter
@@ -323,6 +324,7 @@ class DXCC extends CI_Model {
MAX(case when thcv.COL_QRZCOM_QSO_DOWNLOAD_STATUS= 'Y' then 1 else 0 end) as qrz,
MAX(case when thcv.COL_CLUBLOG_QSO_DOWNLOAD_STATUS = 'Y' then 1 else 0 end) as clublog
FROM " . $this->config->item('table_name') . " thcv
join dxcc_entities on thcv.col_dxcc = dxcc_entities.adif
LEFT JOIN satellite on thcv.COL_SAT_NAME = satellite.name
WHERE station_id IN (" . $location_list . ") AND thcv.col_dxcc > 0";