Add DXCC lookup to LotW sign functions for special use cases

这个提交包含在:
phl0 2023-04-25 22:03:13 +02:00
父节点 5d6abd1fd3
当前提交 cd85cd424e
找不到此签名对应的密钥
GPG 密钥 ID: 48EA1E640798CA9A

查看文件

@ -17,7 +17,10 @@ class Stations extends CI_Model {
// Returns ALL station profiles regardless of user logged in
// This is also used by LoTW sync so must not be changed.
function all() {
return $this->db->get('station_profile');
$this->db->select('station_profile.*, dxcc_entities.name as station_country');
$this->db->from('station_profile');
$this->db->join('dxcc_entities','station_profile.station_dxcc = dxcc_entities.adif','left');
return $this->db->get();
}
function all_of_user() {