Created
April 25, 2011 00:55
-
-
Save knoxdw/940023 to your computer and use it in GitHub Desktop.
A patch for ajlyon's MARC.js translator
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- zotero-bits/MARC.js 2011-04-22 20:27:06.000000000 -0500 | |
| +++ MARC.js 2011-04-23 21:42:16.000000000 -0500 | |
| @@ -198,5 +198,5 @@ | |
| // Duplicate subfield | |
| Zotero.debug("Duplicate subfield '"+tag+" "+subfieldIndex+"="+subfields[j]); | |
| - returnFields[i][subfieldIndex] = returnFields[i][subfieldIndex] + subfields[j].substr(this.subfieldCodeLength-1); | |
| + returnFields[i][subfieldIndex] = returnFields[i][subfieldIndex] + " " + subfields[j].substr(this.subfieldCodeLength-1); | |
| } | |
| } | |
| @@ -466,4 +466,5 @@ | |
| this._associateDBField(item, "090", "a", "callNumber"); | |
| this._associateDBField(item, "099", "a", "callNumber"); | |
| + this._associateDBField(item, "852", "khim", "callNumber"); | |
| //German |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Patch for https://github.com/ajlyon/zotero-bits/raw/master/MARC.js