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:27:08 +0000 (22:27 -0500)
commitd0096fd02fef055ed4952e5b9e39621b7bf3c2a5
tree5f29c46489d530bdbcf9c1264ab1ec50782645e1
parentac4de90cb9397361ef5a35093e2e682b0766a127
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