More states of data in the table

pull/302/head
Peter Goodhall 2019-06-20 15:26:36 +01:00
rodzic 76107c72d4
commit 9ca408e888
2 zmienionych plików z 3 dodań i 0 usunięć

Wyświetl plik

@ -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);

Wyświetl plik

@ -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'));