mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
Awards are shown based on the active station profile
This commit is contained in:
@@ -8,6 +8,11 @@ class Sota extends CI_Model {
|
||||
}
|
||||
|
||||
function get_all() {
|
||||
$CI =& get_instance();
|
||||
$CI->load->model('Stations');
|
||||
$station_id = $CI->Stations->find_active();
|
||||
|
||||
$this->db->where("station_id", $station_id);
|
||||
$this->db->order_by("COL_SOTA_REF", "ASC");
|
||||
$this->db->where('COL_SOTA_REF !=', '');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user