Skip to content

Commit

Permalink
refactor(routing) Restrict search to Features
Browse files Browse the repository at this point in the history
  • Loading branch information
Pierre-Étienne Lord committed Sep 18, 2019
1 parent 2420fed commit fce7278
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -923,7 +923,7 @@ export class RoutingFormComponent implements OnInit, AfterViewInit, OnDestroy {
private handleTermChanged(term: string) {
if (term !== undefined || term.length !== 0) {
const searchProposals = [];
const researches = this.searchService.search(term);
const researches = this.searchService.search(term, {searchType: 'Feature'});
researches.map(res =>
this.routesQueries$$.push(
res.request.subscribe(results => {
Expand Down

0 comments on commit fce7278

Please sign in to comment.