|
|
@ -17,6 +17,7 @@ query.sort( peliasQuery.view.sort_distance ); |
|
|
|
query.filter( peliasQuery.view.boundary_circle ); |
|
|
|
query.filter( peliasQuery.view.boundary_circle ); |
|
|
|
query.filter( peliasQuery.view.sources ); |
|
|
|
query.filter( peliasQuery.view.sources ); |
|
|
|
query.filter( peliasQuery.view.layers ); |
|
|
|
query.filter( peliasQuery.view.layers ); |
|
|
|
|
|
|
|
query.filter( peliasQuery.view.categories ); |
|
|
|
|
|
|
|
|
|
|
|
// --------------------------------
|
|
|
|
// --------------------------------
|
|
|
|
|
|
|
|
|
|
|
@ -65,6 +66,11 @@ function generateQuery( clean ){ |
|
|
|
}); |
|
|
|
}); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// categories
|
|
|
|
|
|
|
|
if (clean.categories) { |
|
|
|
|
|
|
|
vs.var('input:categories', clean.categories); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
return query.render( vs ); |
|
|
|
return query.render( vs ); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|