From: Jason Boyer Date: Wed, 1 Jun 2022 20:30:01 +0000 (-0400) Subject: LP1976557: No Holdings View For the Pre-cat Bib X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=9c34d3b6ad56d1e21eb2422ac033358710c674bf;p=working%2FEvergreen.git 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 --- 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 => {