[open-ils-commits] [GIT] Evergreen ILS branch master updated. 2bb8e3c61a5b801c7e8d8d382ca747cd2368ea12

Evergreen Git git at git.evergreen-ils.org
Thu Feb 20 11:22:00 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, master has been updated
       via  2bb8e3c61a5b801c7e8d8d382ca747cd2368ea12 (commit)
      from  04d0ee774d2b604d26e8fb6fac63e4e70a806b14 (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 2bb8e3c61a5b801c7e8d8d382ca747cd2368ea12
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 e25734f35c..44da299df0 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