ckan / ckanext-mapviews

CKAN Resource View to build maps and choropleth maps
26 stars 23 forks source link

Selecting multiple regions in a map with multiple fields keeps adding repeated filters #16

Closed vitorbaptista closed 10 years ago

vitorbaptista commented 10 years ago

Say that we're plotting a map with the states in the USA, and I add country to the fields as well. So, when clicking on a state, we'll setup filters for it AND for the country, as in:

``` ?state:USA|state:California

The problem is that when I click on another state, it'll add the country again, as in:

?state:USA|state:California|state:USA|state:Florida

We shouldn't be able to duplicate filters. What we want is:

?state:USA|state:California|state:Florida