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
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2018-2021 StApps
|
||||
* Copyright (C) 2022 StApps
|
||||
* This program is free software: you can redistribute it and/or modify it
|
||||
* under the terms of the GNU General Public License as published by the Free
|
||||
* Software Foundation, version 3.
|
||||
@@ -19,7 +19,6 @@ import {HebisSearchPageComponent} from './list/hebis-search-page.component';
|
||||
|
||||
const hebisRoutes: Routes = [
|
||||
{path: 'hebis-search', component: HebisSearchPageComponent},
|
||||
{path: 'hebis-search/:term', component: HebisSearchPageComponent},
|
||||
{path: 'hebis-detail/:uid', component: HebisDetailComponent},
|
||||
];
|
||||
|
||||
|
||||
@@ -37,7 +37,8 @@
|
||||
<ion-toolbar color="primary" class="category-tab">
|
||||
<ion-buttons class="ion-justify-content-between">
|
||||
<ion-button
|
||||
[routerLink]="['/search/' + (queryText || '')]"
|
||||
[routerLink]="['/search']"
|
||||
queryParamsHandling="preserve"
|
||||
[routerAnimation]="routeAnimation"
|
||||
fill="outline"
|
||||
size="large"
|
||||
|
||||
Reference in New Issue
Block a user