feat: search url query param handling

This commit is contained in:
Thea Schöbl
2022-11-01 12:58:29 +00:00
committed by Rainer Killinger
parent 38f0a30076
commit f349bd7233
7 changed files with 23 additions and 19 deletions

View File

@@ -35,7 +35,7 @@ export class SearchSectionComponent {
*/
onSubmitSearch() {
this.router
.navigate(['/search', this.searchTerm])
.navigate(['/search'], {queryParams: {query: this.searchTerm}})
.then(() => this.hideKeyboard());
}