Sort organizations.

parent 2e4f6b97
......@@ -563,12 +563,13 @@ $(document).ready(function () {
// load list of organizations from map features
organizations: function(){
if (vueMap.features != null){
return vueMap.features.map(function(feature){
let organizations = vueMap.features.map(function(feature){
return {
"id": feature.properties.OrganizationID,
"name": feature.properties.OrganizationName,
}
});
return organizations.sort();
}
}
},
......
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