From e732098cb090bf85be1554b7a7ee67df4315e44b Mon Sep 17 00:00:00 2001 From: Zavier Banks Date: Thu, 21 Nov 2019 22:28:04 +0000 Subject: [PATCH] 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 --- Open-ILS/src/eg2/src/app/share/catalog/catalog.service.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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()+')' } -- 2.11.0