Update satellite distances worked combo box to sort by satellite name

这个提交包含在:
Ryan Zink 2021-02-08 22:56:16 -07:00
父节点 9f0d318b9e
当前提交 1fd891f0c4

查看文件

@ -36,7 +36,7 @@ class Distances_model extends CI_Model
$station_id = $CI->Stations->find_active(); $station_id = $CI->Stations->find_active();
// get all worked sats from database // get all worked sats from database
$sql = "SELECT distinct col_sat_name FROM ".$this->config->item('table_name')." WHERE station_id = ".$station_id . " and coalesce(col_sat_name, '') <> ''"; $sql = "SELECT distinct col_sat_name FROM ".$this->config->item('table_name')." WHERE station_id = ".$station_id . " and coalesce(col_sat_name, '') <> '' ORDER BY col_sat_name";
$data = $this->db->query($sql); $data = $this->db->query($sql);