Turistforeningen / node-mongo-querystring

Query builder for accepting URL query parameters into your MongoDB queries. Safe and feature rich. Supports most of MongoDB's query operators such as $eq, $gt, $lt, $ne, $in, $nin, $exists, $regex, geospatial queries such as bbox and near, as well as your own custom query business logic!
MIT License
100 stars 31 forks source link

near query parameters #47

Closed joshkopecek closed 8 years ago

joshkopecek commented 8 years ago

When querying near leaving out the $minDistance parameters it fails. near=12.1234,13.1345,2000 also when using a float for the $maxDistance it fails for me near=12.1234,13.1345,2000.1,0

Starefossen commented 8 years ago

Thanks for the bug-report @joshkopecek. I have confirmed the bugs and I am working on a fix.

Starefossen commented 8 years ago

Both bugs are fixed in v4.0.2. Thanks for reporting @joshkopecek!