From 579685af5a46da07dfed1d5fdc3897c94e024f07 Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Mon, 27 Aug 2018 17:33:25 -0400 Subject: [PATCH] LP#1775466 Splash page catalog search routes to angjs version Signed-off-by: Bill Erickson --- Open-ILS/src/eg2/src/app/staff/splash.component.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Open-ILS/src/eg2/src/app/staff/splash.component.ts b/Open-ILS/src/eg2/src/app/staff/splash.component.ts index 6756b6519c..c53d62f6e4 100644 --- a/Open-ILS/src/eg2/src/app/staff/splash.component.ts +++ b/Open-ILS/src/eg2/src/app/staff/splash.component.ts @@ -23,10 +23,17 @@ export class StaffSplashComponent implements OnInit { searchCatalog(): void { if (!this.catSearchQuery) { return; } + /* Route to angular6 catalog this.router.navigate( ['/staff/catalog/search'], {queryParams: {query : this.catSearchQuery}} ); + */ + + // Route to AngularJS / TPAC catalog + window.location.href = + '/eg/staff/cat/catalog/results?query=' + + encodeURIComponent(this.catSearchQuery); } } -- 2.11.0