Merge pull request #1160 from AndreasK79/dxcc_total_number_fix

This commit is contained in:
Andreas Kristiansen
2024-11-04 20:53:48 +01:00
committed by GitHub

View File

@@ -488,7 +488,7 @@ class DXCC extends CI_Model {
$sql .= " LEFT JOIN satellite on thcv.COL_SAT_NAME = satellite.name";
$sql .= " join dxcc_entities d on thcv.col_dxcc = d.adif";
$sql .= " where station_id in (" . $location_list . ")";
$sql .= " where station_id in (" . $location_list . ") and col_dxcc > 0";
if ($band == 'SAT') {
$sql .= " and thcv.col_prop_mode = ?";