Bug 6397: fix variable name in template that mis-aligns table
authorruth@bywatersolutions.com <ruth@bywatersolutions.com>
Tue, 24 May 2011 19:56:53 +0000 (15:56 -0400)
committerChris Cormack <chrisc@catalyst.net.nz>
Sat, 4 Jun 2011 07:48:20 +0000 (19:48 +1200)
This patch repairs the detail table when enumeration and chronology is present.

Signed-off-by: Ian Walls <ian.walls@bywatersolutions.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt

index a019733..97cb22c 100644 (file)
@@ -355,7 +355,7 @@ function verify_images() {
                     </td>
                     <td class="datelastseen">[% itemloo.datelastseen %]</td>
                     <td><a href="/cgi-bin/koha/catalogue/moredetail.pl?type=[% itemloo.type %]&amp;itemnumber=[% itemloo.itemnumber %]&amp;biblionumber=[% itemloo.biblionumber %]&amp;bi=[% itemloo.biblioitemnumber %]#item[% itemloo.itemnumber %]">[% itemloo.barcode %]</a></td>
-                               [% IF ( itemloo.volinfo ) %]    <td class="enumchron">
+                               [% IF ( itemloo.enumchron ) %]  <td class="enumchron">
                                        [% IF ( itemdata_enumchron ) %]
                                                [% IF ( itemloo.enumchron ) %]
                                                [% itemloo.enumchron %][% IF ( itemloo.serialseq ) %] -- [% END %]