TPAC: Physical description, now with spaces
authorDan Scott <dan@coffeecode.net>
Sat, 16 Jun 2012 02:59:23 +0000 (22:59 -0400)
committerDan Scott <dscott@laurentian.ca>
Tue, 17 Jul 2012 15:23:32 +0000 (11:23 -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 0906c06..fe4d97f 100644 (file)
@@ -80,7 +80,7 @@
         );
             phys_content.push(sub.textContent);
         END;
-        args.phys_desc = phys_content.join("");
+        args.phys_desc = phys_content.join(" ");
 
         args.contents_list = [];
         FOR sub IN xml.findnodes('//*[@tag="505"]');