From 1ef1388fcedf78b0f133d8e67bfbd84851e11a5b Mon Sep 17 00:00:00 2001 From: Jason Boyer Date: Wed, 1 Jun 2022 16:30:01 -0400 Subject: [PATCH] LP1976557: No Holdings View For the Pre-cat Bib Don't waste the time or resources to load every pre-cat in the system when there isn't much you can do with them anyway. Signed-off-by: Jason Boyer Signed-off-by: Chris Sharp --- .../src/eg2/src/app/staff/catalog/record/holdings.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Open-ILS/src/eg2/src/app/staff/catalog/record/holdings.component.ts b/Open-ILS/src/eg2/src/app/staff/catalog/record/holdings.component.ts index d7678605c0..56a22fb554 100644 --- a/Open-ILS/src/eg2/src/app/staff/catalog/record/holdings.component.ts +++ b/Open-ILS/src/eg2/src/app/staff/catalog/record/holdings.component.ts @@ -527,7 +527,7 @@ export class HoldingsMaintenanceComponent implements OnInit { // Grab call numbers, copies, and related data. fetchHoldings(pager: Pager): Observable { - if (!this.recordId) { return of([]); } + if (!this.recordId || this.recordId == -1) { return of([]); } return new Observable(observer => { -- 2.43.2