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
这个提交包含在:
		
						当前提交
						a3e747de9a
					
				
					共有  1 个文件被更改,包括 1 次插入 和 7 次删除
				
			
		|  | @ -99,13 +99,7 @@ class Dashboard extends CI_Controller { | ||||||
| 		 | 		 | ||||||
| 		$this->load->library('qra'); | 		$this->load->library('qra'); | ||||||
| 
 | 
 | ||||||
| 		//echo date('Y-m-d')
 | 		$qsos = $this->logbook_model->get_last_qsos('11'); | ||||||
| 		$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); |  | ||||||
| 
 | 
 | ||||||
| 		echo "{\"markers\": ["; | 		echo "{\"markers\": ["; | ||||||
| 		$count = 1; | 		$count = 1; | ||||||
|  |  | ||||||
		正在加载…
	
		在新工单中引用