TPac: Fix glitch in displaying received holdings user/senator/tpac-mfhd-display-fix
authorLebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Mon, 14 Nov 2011 18:18:30 +0000 (13:18 -0500)
committerLebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Mon, 14 Nov 2011 19:17:03 +0000 (14:17 -0500)
Under "issues held" on the record detail page, holdings summaries for
received issues are nested in an additional layer of array as compared
to MFHD-based holdings, so compensate.

Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Open-ILS/src/templates/opac/parts/record/issues.tt2

index 00a3eca..0ce8757 100644 (file)
@@ -50,7 +50,10 @@ FOREACH type IN ctx.holding_summaries.keys;
 %]
             <tr>
                 <td class="rdetail-mfhd-type">[% mfhd.$type %]</td>
-                <td class="rdetail-mfhd-contents">[% serial.$type.join(', ') %]</td>
+                <td class="rdetail-mfhd-contents">[%
+                    FOR thing IN serial.$type;
+                        thing.join(", ");
+                    END %]</td>
             </tr>
         [% END %]
             <tr>