Commit 4c5262c5 authored by Krystyna Milian's avatar Krystyna Milian

Modified function loading filter values to use new attributes names

parent 0439ca0f
......@@ -429,10 +429,10 @@ addOption = function (selectbox, text, value) {
function loadFilterValues() {
var filters = {
'climateFilter': 'Climate zone', 'zoneFilter': 'Zone', 'commercialFilter': 'Type of Implementing Agency',
'disasterFilter': 'Associated disaster / Immediate cause',
'soilFilter': 'Soil type', 'shelterTypeFilter': 'Type of shelter',
// 'topographyFilter': 'Topography'
'climateFilter': 'climatezone', 'zoneFilter': 'zone', 'commercialFilter': 'typeofimplementingagency',
'disasterFilter': 'associateddisasterimmediatecause',
'soilFilter': 'soiltype', 'shelterTypeFilter': 'typeofshelter',
// 'topographyFilter': 'topography'
}
for (var filterId in filters) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment