dayswithqsos added "col_time_on" to "getDates" to see if it fixes error

Change to see if it fixes #582
这个提交包含在:
Peter Goodhall 2020-08-29 16:57:47 +01:00 提交者 GitHub
父节点 ae11d17ff0
当前提交 30f0b6b3e7
找不到此签名对应的密钥
GPG 密钥 ID: 4AEE18F83AFDEB23

查看文件

@ -80,7 +80,7 @@ class Dayswithqso_model extends CI_Model
$CI->load->model('Stations');
$station_id = $CI->Stations->find_active();
$sql = "select distinct cast(col_time_on as date) as date from "
$sql = "select col_time_on, distinct cast(col_time_on as date) as date from "
.$this->config->item('table_name'). " thcv
where station_id = " . $station_id . " order by col_time_on asc";
@ -89,4 +89,4 @@ class Dayswithqso_model extends CI_Model
return $query->result();
}
}
}