From: Bill Erickson Date: Wed, 18 Nov 2020 20:36:30 +0000 (-0500) Subject: LP1904788 Browse paging skips authority only results X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=5b94b62b1697fbf9ade26c68264563a8ebc4f00e;p=working%2FEvergreen.git LP1904788 Browse paging skips authority only results Avoid attempting to load record results for authority-only browse results when paging through headings in the record list-for-entry page. Signed-off-by: Bill Erickson --- diff --git a/Open-ILS/src/eg2/src/app/staff/catalog/result/results.component.ts b/Open-ILS/src/eg2/src/app/staff/catalog/result/results.component.ts index a7cd2dcabb..b73e7b5459 100644 --- a/Open-ILS/src/eg2/src/app/staff/catalog/result/results.component.ts +++ b/Open-ILS/src/eg2/src/app/staff/catalog/result/results.component.ts @@ -174,7 +174,8 @@ export class ResultsComponent implements OnInit, OnDestroy { let target, previous; this.browseResults.forEach(result => { - if (!result.browse_entry) { return; } // ignore pivot entries + // ignore pivot and authority-only entries + if (!result.sources) { return; } if (previous) { if (prev) {