Include QSOs where COL_EQSL_QSL_SENT is null when uploading to eQSL

这个提交包含在:
Peter Goodhall 2019-10-06 15:40:33 +01:00
父节点 8a601e3c5e
当前提交 da9eb5fc4d

查看文件

@ -978,8 +978,9 @@ class Logbook_model extends CI_Model {
$this->db->from('station_profile');
$this->db->join($this->config->item('table_name'),'station_profile.station_id = '.$this->config->item('table_name').'.station_id','left');
$this->db->where('station_profile.eqslqthnickname !=', '');
$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->or_where($this->config->item('table_name').'.COL_EQSL_QSL_SENT !=', 'Y');
$this->db->or_where($this->config->item('table_name').'.COL_EQSL_QSL_SENT !=', 'I');
$this->db->or_where(array($this->config->item('table_name').'.COL_EQSL_QSL_SENT' => NULL));
return $this->db->get();
}