TPAC: Physical description, now with spaces user/mrpeters-isl/phys_desc_spaced_out_signoff
authorDan Scott <dan@coffeecode.net>
Sat, 16 Jun 2012 02:59:23 +0000 (22:59 -0400)
committerMichael Peters <mrpeters@library.in.gov>
Mon, 18 Jun 2012 12:55:58 +0000 (08:55 -0400)
Record details will regularly include physical descriptions like
"Physical Description: 1 sound disc :33 1/3 rpm, mono." where the colon
is jammed up against the content from the following subfield. Easily
fixed by using a space as the joiner for the subfields.

Signed-off-by: Dan Scott <dan@coffeecode.net>
Signed-off-by: Michael Peters <mrpeters@library.in.gov>
Open-ILS/src/templates/opac/parts/misc_util.tt2

index 3b9f9a2..992e9e2 100644 (file)
@@ -47,7 +47,7 @@
         );
         phys_content = [];
         FOR p IN phys; phys_content.push(p.textContent); END;
-        args.phys_desc = phys_content.join("");
+        args.phys_desc = phys_content.join(" ");
 
         args.contents = xml.findnodes('//*[@tag="505"]').textContent;