Add DXCC entities details to activators details SQL
这个提交包含在:
父节点
a485d9e72e
当前提交
90f64e6d7a
共有 1 个文件被更改,包括 2 次插入 和 0 次删除
|
|
@ -443,6 +443,7 @@ class Logbook_model extends CI_Model {
|
|||
$logbooks_locations_array = $CI->logbooks_model->list_logbook_relationships($this->session->userdata('active_station_logbook'));
|
||||
|
||||
$this->db->join('station_profile', 'station_profile.station_id = '.$this->config->item('table_name').'.station_id');
|
||||
$this->db->join('dxcc_entities', 'dxcc_entities.adif = '.$this->config->item('table_name').'.COL_DXCC', 'left outer');
|
||||
$this->db->where('COL_CALL', $call);
|
||||
if ($band != 'All') {
|
||||
if ($band == 'SAT') {
|
||||
|
|
@ -460,6 +461,7 @@ class Logbook_model extends CI_Model {
|
|||
}
|
||||
|
||||
$this->db->where_in('station_profile.station_id', $logbooks_locations_array);
|
||||
$this->db->order_by('COL_TIME_ON', 'DESC');
|
||||
|
||||
return $this->db->get($this->config->item('table_name'));
|
||||
}
|
||||
|
|
|
|||
正在加载…
在新工单中引用