SOTA list displayed in awards based on the SOTA field in the add qso being filled in correctly

This commit is contained in:
Peter Goodhall
2019-06-13 18:40:02 +01:00
parent ad76b88ac1
commit c3bb33ff03
2 changed files with 3 additions and 11 deletions

View File

@@ -8,8 +8,8 @@ class Sota extends CI_Model {
}
function get_all() {
$this->db->order_by("COL_COMMENT", "ASC");
$this->db->like('COL_COMMENT', 'SOTA:');
$this->db->order_by("COL_SOTA_REF", "ASC");
$this->db->where('COL_SOTA_REF !=', '');
return $this->db->get($this->config->item('table_name'));
}