From 41231d34639ac05d8b811ac5afa87e1899d4bd62 Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Fri, 6 Dec 2019 15:27:28 -0500 Subject: [PATCH] LP1852782 Avoid unnecessary catalog pagination search Prevent the record detail paginator from trying to execute a search (to find the current details) as users type in new search params in the record detail seach form. Signed-off-by: Bill Erickson Signed-off-by: Jane Sandberg --- .../src/app/staff/catalog/record/pagination.component.ts | 4 ---- .../eg2/src/app/staff/catalog/record/record.component.html | 6 ++---- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/Open-ILS/src/eg2/src/app/staff/catalog/record/pagination.component.ts b/Open-ILS/src/eg2/src/app/staff/catalog/record/pagination.component.ts index b3e9a9c53e..88214cd805 100644 --- a/Open-ILS/src/eg2/src/app/staff/catalog/record/pagination.component.ts +++ b/Open-ILS/src/eg2/src/app/staff/catalog/record/pagination.component.ts @@ -94,10 +94,6 @@ export class RecordPaginationComponent implements OnInit { return this.refreshSearch().then(ok => { this.index = this.searchContext.indexForResult(this.id); - if (this.index === null) { - console.warn( - 'No search results found containing the focused record.'); - } resolve(); }); }); diff --git a/Open-ILS/src/eg2/src/app/staff/catalog/record/record.component.html b/Open-ILS/src/eg2/src/app/staff/catalog/record/record.component.html index 10f8c7c3b1..49ec2e55f5 100644 --- a/Open-ILS/src/eg2/src/app/staff/catalog/record/record.component.html +++ b/Open-ILS/src/eg2/src/app/staff/catalog/record/record.component.html @@ -11,10 +11,8 @@
-
- - -
+ +
-- 2.43.2