Commit 1edcfb70 authored by Matija Obreza's avatar Matija Obreza

Reinstate institute.country.iso3 filter

parent ce99959c
......@@ -87,6 +87,7 @@ public class FilterHandler {
this.availableFilters.add(new AutocompleteFilter(FilterConstants.TAXONOMY_SCINAME, "/explore/ac/taxonomy"));
this.availableFilters.add(new AutocompleteFilter(FilterConstants.ORGCTY_ISO3, "/explore/ac/country"));
this.availableFilters.add(new AutocompleteFilter(FilterConstants.INSTITUTE_COUNTRY_ISO3, "/explore/ac/country"));
this.availableFilters.add(new BasicFilter(FilterConstants.GEO_LATITUDE, DataType.NUMERIC));
this.availableFilters.add(new BasicFilter(FilterConstants.GEO_LONGITUDE, DataType.NUMERIC));
this.availableFilters.add(new BasicFilter(FilterConstants.GEO_ELEVATION, DataType.NUMERIC));
......
......@@ -191,7 +191,7 @@ GenesysChart = {
GenesysFilter = {
normKey: function(key) {
return key.replace('.','-').replace(':','_');
return key.replace(/\./g,'-').replace(/:/g,'_');
},
//add filter with autocomplete or exact field
filterAutocomplete: function (element, jsonData) {
......
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