[open-ils-commits] [GIT] Evergreen ILS branch rel_3_3 updated. 473945d64f0ec0ccba977207023272279f62c5fb

Evergreen Git git at git.evergreen-ils.org
Thu Feb 20 11:22:25 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_3 has been updated
       via  473945d64f0ec0ccba977207023272279f62c5fb (commit)
      from  aa315453d81f9c8a50378ca8b88797477ed5618d (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 473945d64f0ec0ccba977207023272279f62c5fb
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 128e168081..c2fa309a59 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
@@ -115,7 +115,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