minor changes to satellite export

This commit is contained in:
Peter Goodhall 2019-04-08 15:47:03 +01:00
parent 7cce986807
commit 9c3a84ab8b
2 changed files with 2 additions and 2 deletions

View File

@ -45,7 +45,7 @@ class adif extends CI_Controller {
$this->load->model('adif_data'); $this->load->model('adif_data');
$data['qsos'] = $this->adif_data->satellite(); $data['qsos'] = $this->adif_data->sat_all();
$this->load->view('adif/data/exportsat', $data); $this->load->view('adif/data/exportsat', $data);
} }

View File

@ -16,7 +16,7 @@ class adif_data extends CI_Model {
return $query; return $query;
} }
function satellte() { function sat_all() {
$this->db->where('COL_PROP_MODE', 'SAT'); $this->db->where('COL_PROP_MODE', 'SAT');
$this->db->order_by("COL_TIME_ON", "ASC"); $this->db->order_by("COL_TIME_ON", "ASC");
$query = $this->db->get($this->config->item('table_name')); $query = $this->db->get($this->config->item('table_name'));