From: Bill Erickson Date: Fri, 6 Dec 2019 20:27:28 +0000 (-0500) Subject: LP1852782 Avoid unnecessary catalog pagination search X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=41231d34639ac05d8b811ac5afa87e1899d4bd62;p=evergreen%2Fmasslnc.git 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 --- 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 @@
-
- - -
+ +