Changed DaysWithQSO to Time_ON which is the field Cloudlog uses for Date/Time of qsos
这个提交包含在:
父节点
8ffe57fcf6
当前提交
03b00b223b
共有 1 个文件被更改,包括 2 次插入 和 2 次删除
|
|
@ -15,9 +15,9 @@ class Dayswithqso_model extends CI_Model
|
|||
$CI->load->model('Stations');
|
||||
$station_id = $CI->Stations->find_active();
|
||||
|
||||
$sql = "select year(col_qso_date) Year, count(distinct col_qso_date) Days from "
|
||||
$sql = "select year(COL_TIME_ON) Year, count(distinct COL_TIME_ON) Days from "
|
||||
.$this->config->item('table_name'). " thcv
|
||||
where station_id = " . $station_id . " and col_qso_date is not null group by year";
|
||||
where station_id = " . $station_id . " and COL_TIME_ON is not null group by year";
|
||||
|
||||
$query = $this->db->query($sql);
|
||||
|
||||
|
|
|
|||
正在加载…
在新工单中引用