Merge pull request #2750 from int2001/act_station_fix

Activated Grids were calculated by whole instance QSOs, not by owner
这个提交包含在:
Andreas Kristiansen 2023-11-30 11:01:02 +01:00 提交者 GitHub
当前提交 70c29aba47
找不到此签名对应的密钥
GPG 密钥 ID: 4AEE18F83AFDEB23

查看文件

@ -15,7 +15,8 @@ class Activated_gridmap_model extends CI_Model {
$sql = 'SELECT DISTINCT station_gridsquare AS GRID_SQUARES, COL_BAND FROM '
. 'station_profile JOIN '.$this->config->item('table_name').' on '.$this->config->item('table_name').'.station_id = station_profile.station_id '
. 'WHERE station_profile.station_gridsquare != "" ';
. 'WHERE station_profile.station_gridsquare != "" '
. 'AND station_profile.station_id in ('.$location_list.')';
if ($band != 'All') {
if ($band == 'SAT') {
@ -35,7 +36,6 @@ class Activated_gridmap_model extends CI_Model {
}
$sql .= $this->addQslToQuery($qsl, $lotw, $eqsl);
return $this->db->query($sql);
}
@ -52,7 +52,8 @@ class Activated_gridmap_model extends CI_Model {
$sql = 'SELECT DISTINCT station_gridsquare AS GRID_SQUARES, COL_BAND FROM '
. 'station_profile JOIN '.$this->config->item('table_name').' on '.$this->config->item('table_name').'.station_id = station_profile.station_id '
. 'WHERE station_profile.station_gridsquare != "" ';
. 'WHERE station_profile.station_gridsquare != "" '
. 'AND station_profile.station_id in ('.$location_list.')';
if ($band != 'All') {
if ($band == 'SAT') {