Merge pull request #1296 from Werzi2001/dashboard_same_qsos_in_map_as_in_list

map on dashboard now shows the same QSOs as the list below
这个提交包含在:
Peter Goodhall 2021-11-17 14:23:51 +00:00 提交者 GitHub
当前提交 a3e747de9a
找不到此签名对应的密钥
GPG 密钥 ID: 4AEE18F83AFDEB23

查看文件

@ -99,13 +99,7 @@ class Dashboard extends CI_Controller {
$this->load->library('qra');
//echo date('Y-m-d')
$raw = strtotime('Monday last week');
$mon = date('Y-m-d', $raw);
$sun = date('Y-m-d', strtotime('Monday next week'));
$qsos = $this->logbook_model->map_week_qsos($mon, $sun);
$qsos = $this->logbook_model->get_last_qsos('11');
echo "{\"markers\": [";
$count = 1;