specify default leader for acq brief bibs
authorgmc <gmc@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 30 Nov 2010 19:09:01 +0000 (19:09 +0000)
committergmc <gmc@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 30 Nov 2010 19:09:01 +0000 (19:09 +0000)
In particular, avoid fun that could ensue if the
Leader/09 is not set to 'a'.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>

git-svn-id: svn://svn.open-ils.org/ILS/trunk@18878 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/web/js/ui/default/acq/picklist/brief_record.js

index 9653aa5..f59b93b 100644 (file)
@@ -168,7 +168,7 @@ function compileBriefRecord(fields, editMarc) {
         'xmlns="http://www.loc.gov/MARC21/slim" ' +
         'xmlns:marc="http://www.loc.gov/MARC21/slim" ' +
         'xsi:schemaLocation="http://www.loc.gov/MARC21/slim http://www.loc.gov/ standards/marcxml/schema/MARC21slim.xsd">' +
-        '<leader/></record>';
+        '<leader>00000nam a22000007a 4500</leader></record>';
 
     var doc = new DOMParser().parseFromString(baseString, 'text/xml');