Browse Source

fix incorrect use of lodash isSet with the get function

force-libpostal-param
Diana Shkolnikov 8 years ago
parent
commit
3df05b8823
  1. 2
      query/search.js

2
query/search.js

@ -163,7 +163,7 @@ function getQuery(params, vs) {
}
function forceLibpostal(params) {
return _.isSet(params, 'force_libpostal');
return _.get(params, 'force_libpostal', false);
}
function hasStreet(vs) {

Loading…
Cancel
Save