From: Zavier Banks Date: Thu, 21 Nov 2019 22:28:04 +0000 (+0000) Subject: LP#1849212 Angular Search Course Reserves Facet X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=refs%2Fheads%2Fuser%2Fzbanks%2Flp1849212-angular-search-course-reserves-facet;p=working%2FEvergreen.git LP#1849212 Angular Search Course Reserves Facet I, yet again, forgot to add an important file. It has since been added, and the new facet works as it should. Signed-off-by: Zavier Banks --- diff --git a/Open-ILS/src/eg2/src/app/share/catalog/catalog.service.ts b/Open-ILS/src/eg2/src/app/share/catalog/catalog.service.ts index d451308036..1c441678e1 100644 --- a/Open-ILS/src/eg2/src/app/share/catalog/catalog.service.ts +++ b/Open-ILS/src/eg2/src/app/share/catalog/catalog.service.ts @@ -128,7 +128,7 @@ export class CatalogService { } } console.debug(`search query: ${fullQuery}`); - + console.log("CTX", ctx, method, this.course_filtered_query) if (ctx.isStaff) { method += '.staff'; } @@ -168,6 +168,7 @@ export class CatalogService { this.course_filtered_query = " ("; var index = 0; this.pcrud.retrieveAll("acmcm").subscribe(result =>{ + console.log("Result", result) if(index==0){ this.course_filtered_query += '(id:'+ result.item()+')' }