mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
Update satellite distances worked combo box to sort by satellite name
This commit is contained in:
@@ -36,7 +36,7 @@ class Distances_model extends CI_Model
|
||||
$station_id = $CI->Stations->find_active();
|
||||
|
||||
// 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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user