Severyn Kozak 10 years ago
parent
commit
f477db140a
  1. 2
      query/reverse.js

2
query/reverse.js

@ -11,7 +11,7 @@ function generate( params ){
}; };
var query = queries.distance( centroid, { size: params.size || 1 } ); var query = queries.distance( centroid, { size: params.size || 1 } );
query.sort = query.sort.concat( sort() ); query.sort = query.sort.concat( sort( params ) );
return query; return query;
} }

Loading…
Cancel
Save