[open-ils-commits] [GIT] Evergreen ILS branch rel_3_5 updated. 54d9e5acee884970527981455616a05b4c0b9411

Evergreen Git git at git.evergreen-ils.org
Thu Aug 13 11:36:19 EDT 2020


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Evergreen ILS".

The branch, rel_3_5 has been updated
       via  54d9e5acee884970527981455616a05b4c0b9411 (commit)
      from  1e048263333beb98bd9487fbc8191eddcb054098 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 54d9e5acee884970527981455616a05b4c0b9411
Author: Bill Erickson <berickxx at gmail.com>
Date:   Thu Jul 30 15:29:08 2020 -0400

    LP1889685 Staff catalog record CN browse retains search
    
    Using the Shelf Browse tab on the record detail page in the Angular
    staff catalog no longer clobbers the active search, allowing the search
    navigation buttons (Next, Previous, etc.) to continue working.
    
    Signed-off-by: Bill Erickson <berickxx at gmail.com>
    Signed-off-by: Galen Charlton <gmc at equinoxinitiative.org>

diff --git a/Open-ILS/src/eg2/src/app/staff/catalog/cnbrowse/results.component.ts b/Open-ILS/src/eg2/src/app/staff/catalog/cnbrowse/results.component.ts
index 464f443a1f..cdcff7f65b 100644
--- a/Open-ILS/src/eg2/src/app/staff/catalog/cnbrowse/results.component.ts
+++ b/Open-ILS/src/eg2/src/app/staff/catalog/cnbrowse/results.component.ts
@@ -48,6 +48,13 @@ export class CnBrowseResultsComponent implements OnInit, OnDestroy {
     ngOnInit() {
         this.searchContext = this.staffCat.searchContext;
 
+        if (this.bibSummary) {
+            // Avoid clobbering the active search when browsing in
+            // the context of a specific record.
+            this.searchContext =
+                this.staffCat.cloneContext(this.searchContext);
+        }
+
         for (let idx = 0; idx < this.rowCount; idx++) {
             this.rowIndexList.push(idx);
         }

-----------------------------------------------------------------------

Summary of changes:
 .../src/eg2/src/app/staff/catalog/cnbrowse/results.component.ts    | 7 +++++++
 1 file changed, 7 insertions(+)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list