Merge pull request #1664 from int2001/order_locs

Order station-locations by call and description
This commit is contained in:
Joerg (DJ7NT)
2025-02-16 08:58:55 +01:00
committed by GitHub

View File

@@ -33,6 +33,7 @@ class Stations extends CI_Model {
$this->db->select('station_profile.*, dxcc_entities.name as station_country, dxcc_entities.end as dxcc_end');
$this->db->where('user_id', $userid);
$this->db->join('dxcc_entities','station_profile.station_dxcc = dxcc_entities.adif','left outer');
$this->db->order_by('station_profile.station_callsign asc, station_profile.station_profile_name asc');
return $this->db->get('station_profile');
}