Browse Source

Merge pull request #31 from pelias/search-layers

searching layers
pull/27/merge
Peter Johnson @insertcoffee 10 years ago
parent
commit
529772791f
  1. 3
      controller/search.js

3
controller/search.js

@ -15,6 +15,9 @@ function setup( backend, query ){
body: query( req.clean )
};
if (req.clean.layers) {
cmd.type = req.clean.layers;
}
// query backend
backend().client.search( cmd, function( err, data ){

Loading…
Cancel
Save