More states of data in the table

This commit is contained in:
Peter Goodhall
2019-06-20 15:26:36 +01:00
parent 76107c72d4
commit 9ca408e888
2 changed files with 3 additions and 0 deletions

View File

@@ -34,6 +34,8 @@ class Clublog extends CI_Controller {
$data['qsos'] = $this->logbook_model->get_clublog_qsos();
print_r($data['qsos'])
if($data['qsos']->num_rows()){
// Create ADIF File of contacts not uploaded to Clublog
$string = $this->load->view('adif/data/clublog', $data, TRUE);

View File

@@ -444,6 +444,7 @@ class Logbook_model extends CI_Model {
function get_clublog_qsos(){
$this->db->where("COL_CLUBLOG_QSO_UPLOAD_STATUS", null);
$this->db->or_where("COL_CLUBLOG_QSO_UPLOAD_STATUS", "");
$this->db->or_where("COL_CLUBLOG_QSO_UPLOAD_STATUS", "N");
$query = $this->db->get($this->config->item('table_name'));