[open-ils-commits] [GIT] Evergreen ILS branch rel_3_4 updated. 13a7658e366f6d80bd392fdf793ab4d3719cca15

Evergreen Git git at git.evergreen-ils.org
Thu Feb 20 11:22:49 EST 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_4 has been updated
       via  13a7658e366f6d80bd392fdf793ab4d3719cca15 (commit)
      from  9aa64ab561ba652114279c36904eb550e58a6bf1 (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 13a7658e366f6d80bd392fdf793ab4d3719cca15
Author: Chris Sharp <csharp at georgialibraries.org>
Date:   Fri Jan 10 11:54:08 2020 -0500

    LP#1859191 - Use correct API method for updating existing MARC records.
    
    Signed-off-by: Chris Sharp <csharp at georgialibraries.org>
    Signed-off-by: Bill Erickson <berickxx at gmail.com>
    Signed-off-by: Chris Sharp <csharp at georgialibraries.org>

diff --git a/Open-ILS/src/eg2/src/app/staff/share/marc-edit/editor.component.ts b/Open-ILS/src/eg2/src/app/staff/share/marc-edit/editor.component.ts
index 8c3935753e..58bfbc6eaa 100644
--- a/Open-ILS/src/eg2/src/app/staff/share/marc-edit/editor.component.ts
+++ b/Open-ILS/src/eg2/src/app/staff/share/marc-edit/editor.component.ts
@@ -114,7 +114,7 @@ export class MarcEditorComponent implements OnInit {
 
         if (this.record.id) { // Editing an existing record
 
-            const method = 'open-ils.cat.biblio.record.marc.replace';
+            const method = 'open-ils.cat.biblio.record.xml.update';
 
             return this.net.request('open-ils.cat', method,
                 this.auth.token(), this.record.id, xml, sourceName
diff --git a/Open-ILS/web/js/ui/default/staff/cat/services/marcedit.js b/Open-ILS/web/js/ui/default/staff/cat/services/marcedit.js
index 09b46d0c2e..3967267aa7 100644
--- a/Open-ILS/web/js/ui/default/staff/cat/services/marcedit.js
+++ b/Open-ILS/web/js/ui/default/staff/cat/services/marcedit.js
@@ -1394,7 +1394,7 @@ angular.module('egMarcMod', ['egCoreMod', 'ui.bootstrap'])
                     if ($scope.recordId) {  
 
                         var method = $scope.record_type === 'bre' ?
-                            'open-ils.cat.biblio.record.marc.replace' :
+                            'open-ils.cat.biblio.record.xml.update' :
                             'open-ils.cat.authority.record.overlay';
 
                         promise = egCore.net.request(

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

Summary of changes:
 Open-ILS/src/eg2/src/app/staff/share/marc-edit/editor.component.ts | 2 +-
 Open-ILS/web/js/ui/default/staff/cat/services/marcedit.js          | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list