From 6e8729d9dd16c19903049ca50fd5218846caff58 Mon Sep 17 00:00:00 2001 From: Thomas Werzmirzowsky Date: Mon, 15 Nov 2021 19:16:54 +0100 Subject: [PATCH] map on dashboard now shows the same QSOs as the list below (excluding the ones without gridsquare) --- application/controllers/Dashboard.php | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/application/controllers/Dashboard.php b/application/controllers/Dashboard.php index ce8238fe..f8aadada 100644 --- a/application/controllers/Dashboard.php +++ b/application/controllers/Dashboard.php @@ -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;