From 9c34d3b6ad56d1e21eb2422ac033358710c674bf 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 --- Open-ILS/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.11.0