TPac: Fix glitch in displaying received holdings
authorLebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Mon, 14 Nov 2011 18:18:30 +0000 (13:18 -0500)
committerBill Erickson <berick@esilibrary.com>
Tue, 15 Nov 2011 17:00:31 +0000 (12:00 -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>
Signed-off-by: Bill Erickson <berick@esilibrary.com>

Open-ILS/src/templates/opac/parts/record/issues.tt2

index 4ed20af..f346587 100644 (file)
@@ -51,7 +51,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>