From: Bill Erickson Date: Mon, 27 Aug 2018 21:33:25 +0000 (-0400) Subject: LP#1775466 Splash page catalog search routes to angjs version X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=579685af5a46da07dfed1d5fdc3897c94e024f07;p=working%2FEvergreen.git LP#1775466 Splash page catalog search routes to angjs version Signed-off-by: Bill Erickson --- 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); } }