bjorn2404 / jQuery-Store-Locator-Plugin

A store locator plugin using Google Maps API version 3
MIT License
495 stars 235 forks source link

taxonomy filtering no longer works when the data is a number #178

Closed PaladinMattt closed 7 years ago

PaladinMattt commented 7 years ago

the filterData functions throws an error is the data[k] or filter[k] is of type number.

bjorn2404 commented 7 years ago

@PaladinMattt Just pushed out v2.7.4 with some updates to filtering. I tested numbers and they seemed to be working with this code. Let me know if you're still experiencing issues with it.

cameroncollector commented 5 years ago

I'm running into the same issue, currently using v3.0.1. Oddly enough if I use a number with a decimal (ex 8 vs 8.0) it filters fine.