Bug 6187 : Fixing template issue with opac-authoritesdetail.tt

Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
This commit is contained in:
Chris Cormack 2011-04-14 15:25:28 +12:00
parent b03a6a22a0
commit 30ae708978
2 changed files with 4 additions and 4 deletions

View file

@ -62,10 +62,10 @@ function showChildren(mynumber) {
[% END %]
<h1>Entry [% authtypetext %]</h1>
<p>Used in <a href="opac-search.pl?type=opac&amp;q=[% authid %]&amp;idx=an">[% count %] records</a></p>
[% FOREACH 0X IN 0XX %]
<p><b>[% 0X.tag %]</b></p>
[% FOREACH Tag0X IN Tab0XX %]
<p><b>[% Tag0X.tag %]</b></p>
<ul>
[% FOREACH subfiel IN 0X.subfield %]
[% FOREACH subfiel IN Tag.0X.subfield %]
<p><b>[% subfiel.marc_lib %]:</b> [% subfiel.marc_value %]</p>
[% END %]
</ul>

View file

@ -168,7 +168,7 @@ foreach my $field (@fields) {
push( @loop_data, \%tag_data );
}
}
$template->param( "0XX" => \@loop_data );
$template->param( "Tab0XX" => \@loop_data );
my $authtypes = getauthtypes;
my @authtypesloop;