Merge pull request #1433 from Werzi2001/fix_timeline_show_qsos
added missing join (otherwise error in view)
这个提交包含在:
当前提交
edf54b681f
共有 1 个文件被更改,包括 3 次插入 和 1 次删除
|
|
@ -365,6 +365,8 @@ class Logbook_model extends CI_Model {
|
|||
$CI->load->model('logbooks_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');
|
||||
|
||||
if ($band != 'All') {
|
||||
if ($band == 'SAT') {
|
||||
$this->db->where('col_prop_mode', $band);
|
||||
|
|
@ -378,7 +380,7 @@ class Logbook_model extends CI_Model {
|
|||
$this->db->where('col_mode', $mode);
|
||||
}
|
||||
|
||||
$this->db->where_in('station_id', $logbooks_locations_array);
|
||||
$this->db->where_in('station_profile.station_id', $logbooks_locations_array);
|
||||
|
||||
switch($type) {
|
||||
case 'dxcc': $this->db->where('COL_DXCC', $querystring); break;
|
||||
|
|
|
|||
正在加载…
在新工单中引用