TPAC: Physical description, now with spaces user/dbs/phys_desc_spaced_out
authorDan Scott <dan@coffeecode.net>
Sat, 16 Jun 2012 02:59:23 +0000 (22:59 -0400)
committerDan Scott <dan@coffeecode.net>
Sat, 16 Jun 2012 03:00:09 +0000 (23:00 -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>
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;