From 78912002cea401f41fa441e46c13e8f24e3677e2 Mon Sep 17 00:00:00 2001
From: Tor-Einar Skog <tor-einar.skog@bioforsk.no>
Date: Fri, 8 Apr 2016 17:15:32 +0200
Subject: [PATCH] Season Bugfix

---
 applefruitmoth/static/applefruitmoth/js/map.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/applefruitmoth/static/applefruitmoth/js/map.js b/applefruitmoth/static/applefruitmoth/js/map.js
index 9730a144..628a76b4 100644
--- a/applefruitmoth/static/applefruitmoth/js/map.js
+++ b/applefruitmoth/static/applefruitmoth/js/map.js
@@ -32,7 +32,7 @@ var initMap = function(container, mapAttribution)
 	
 	forecastLayer = new ol.layer.Vector({
 		source: new ol.source.Vector({
-			url: "http://" + settings.vipslogicServerName + "/rest/applefruitmoth/observationsites/kml/2016",
+			url: "http://" + settings.vipslogicServerName + "/rest/applefruitmoth/observationsites/kml/",
 			format: new ol.format.KML({"extractAttributes":true}),
 			projection: ol.proj.get('EPSG:3857')
 		})
-- 
GitLab