[EQSL][Upload] Check to make sure to only select records with callsigns in them

这个提交包含在:
Peter Goodhall 2020-12-10 16:46:15 +00:00
父节点 b40b3a2834
当前提交 a3b395db69

查看文件

@ -1450,6 +1450,7 @@ class Logbook_model extends CI_Model {
$this->db->join($this->config->item('table_name'),'station_profile.station_id = '.$this->config->item('table_name').'.station_id AND station_profile.eqslqthnickname != ""','left');
$this->db->where($this->config->item('table_name').'.COL_EQSL_QSL_SENT !=', 'Y');
$this->db->where($this->config->item('table_name').'.COL_EQSL_QSL_SENT !=', 'I');
$this->db->where($this->config->item('table_name').'.COL_CALL !=', '');
$this->db->or_where(array($this->config->item('table_name').'.COL_EQSL_QSL_SENT' => NULL));
return $this->db->get();
}