mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-21 00:52:55 +00:00
feat: search url query param handling
This commit is contained in:
committed by
Rainer Killinger
parent
38f0a30076
commit
f349bd7233
@@ -35,7 +35,7 @@ export class SearchSectionComponent {
|
||||
*/
|
||||
onSubmitSearch() {
|
||||
this.router
|
||||
.navigate(['/search', this.searchTerm])
|
||||
.navigate(['/search'], {queryParams: {query: this.searchTerm}})
|
||||
.then(() => this.hideKeyboard());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user