Create 008 - take only the first field/subfield combo
authorDan Scott <dscott@laurentian.ca>
Mon, 20 Jan 2014 03:24:07 +0000 (22:24 -0500)
committerDan Scott <dscott@laurentian.ca>
Mon, 20 Jan 2014 03:24:07 +0000 (22:24 -0500)
commit06ce842345c36031a704ab1e86f75332a54a614b
treeac2b1db46c5bdb36116ba27f3149de93cf57a9ed
parent928642438e58b4d4a283817b0e62c087bd613954
Create 008 - take only the first field/subfield combo

In the event that there were multiple $a subfields in, say, 044, the create 008
function could spew raw XML into the 008 field. Avoid that by taking the primary
instance.

Signed-off-by: Dan Scott <dscott@laurentian.ca>
Open-ILS/xul/staff_client/server/cat/marcedit.js