You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: app/assets/javascripts/countries/helpers/CountryConfig.js
+4-4
Original file line number
Diff line number
Diff line change
@@ -111,8 +111,8 @@ define([], function() {
111
111
112
112
config.GRAPHS={
113
113
total_loss: {
114
-
title: "Countries with greatest tree cover loss (2001-2013)",
115
-
subtitle: "Global tree cover loss, 2001-2013<a href='#' class='info' data-source='total_loss'><i class='dark'></i></a>"
114
+
title: "Countries with greatest tree cover loss (2001-2014)",
115
+
subtitle: "Global tree cover loss, 2001-2014<a href='#' class='info' data-source='total_loss'><i class='dark'></i></a>"
116
116
},
117
117
percent_loss: {
118
118
title: "Countries with greatest tree cover gain (2001-2012)",
@@ -127,8 +127,8 @@ define([], function() {
127
127
subtitle: "Tree cover loss relative to tree cover gain by country (2001-2012)<a href='#' class='info' data-source='total_loss'><i class='dark'></i></a>"
128
128
},
129
129
domains: {
130
-
title: "Climate domains ranked in order of<br />greatest tree cover loss (2001-2013)",
131
-
subtitle: "Tree cover loss per year by climate domain, 2001-2013<a href='#' class='info' data-source='total_loss'><i class='dark'></i></a>"
130
+
title: "Climate domains ranked in order of<br />greatest tree cover loss (2001-2014)",
131
+
subtitle: "Tree cover loss per year by climate domain, 2001-2014<a href='#' class='info' data-source='total_loss'><i class='dark'></i></a>"
varsql='SELECT ecozone as name, sum(loss) as total_loss, sum(gain) as total_gain FROM umd_eco where thresh = '+(this.helper.config.canopy_choice||30)+' group by ecozone';
522
+
varsql="SELECT ecozone as name, sum(loss) as total_loss, sum(gain) as total_gain FROM umd_eco_2014 where thresh = "+(this.helper.config.canopy_choice||30)+" and ecozone !='Water' and ecozone != 'Polar' group by ecozone";
523
+
// "SELECT ecozone as name, sum(loss) as total_loss, sum(gain) as total_gain FROM umd_eco where thresh = ' + (this.helper.config.canopy_choice || 30) +’ and ecozone !='Water' and ecozone != 'Polar' group by ecozone"
varsql='SELECT ecozone as name, loss, year FROM umd_eco where thresh = '+(this.helper.config.canopy_choice||30);
1245
+
varsql="SELECT ecozone as name, sum(loss), year FROM umd_eco_2014 where thresh = "+(this.helper.config.canopy_choice||30)+" and ecozone !='Water' and ecozone != 'Polar' group by name, year";
0 commit comments