From: Bill Erickson Date: Fri, 18 Oct 2019 17:47:17 +0000 (-0400) Subject: LP1848778 Use consistent MARC breaker delimiter X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=9776b89e6446c9bea2b5fb3ee24e2e263c0eac7f;p=evergreen%2Ftadl.git LP1848778 Use consistent MARC breaker delimiter Use the '$' delimiter in the read-only MARC breaker view for consistency with the flat text MARC editor to easy copy/paste from one to the other. To test ------- [1] Apply the patch. [2] Set up two records in a record bucket and initiate a merge. Note that when you select a lead record and choose to edit it in flat text mode, you can copy and paste fields from the subordinate record display without having to change the subfield delimiter character. [3] Mark a record for overlay, perform a Z39.50 search, then select a hit and choose the overlay action. Note that you can copy and paste fields from the record to overlay when editing the incoming record using the flat text editor. Signed-off-by: Bill Erickson Signed-off-by: Galen Charlton --- diff --git a/Open-ILS/web/js/ui/default/staff/cat/services/record.js b/Open-ILS/web/js/ui/default/staff/cat/services/record.js index 9c881373e3..c099e4dd67 100644 --- a/Open-ILS/web/js/ui/default/staff/cat/services/record.js +++ b/Open-ILS/web/js/ui/default/staff/cat/services/record.js @@ -95,6 +95,9 @@ angular.module('egCoreMod') ['$scope','egCore', function($scope , egCore) { + // Match the MARC flat-text editor + MARC21.Record.delimiter = '$'; + function loadRecordBreaker() { var xml; if ($scope.marcXml) {