Bug 6187 : Fixing template issue with opac-authoritesdetail.tt
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
This commit is contained in:
parent
b03a6a22a0
commit
30ae708978
2 changed files with 4 additions and 4 deletions
|
@ -62,10 +62,10 @@ function showChildren(mynumber) {
|
||||||
[% END %]
|
[% END %]
|
||||||
<h1>Entry [% authtypetext %]</h1>
|
<h1>Entry [% authtypetext %]</h1>
|
||||||
<p>Used in <a href="opac-search.pl?type=opac&q=[% authid %]&idx=an">[% count %] records</a></p>
|
<p>Used in <a href="opac-search.pl?type=opac&q=[% authid %]&idx=an">[% count %] records</a></p>
|
||||||
[% FOREACH 0X IN 0XX %]
|
[% FOREACH Tag0X IN Tab0XX %]
|
||||||
<p><b>[% 0X.tag %]</b></p>
|
<p><b>[% Tag0X.tag %]</b></p>
|
||||||
<ul>
|
<ul>
|
||||||
[% FOREACH subfiel IN 0X.subfield %]
|
[% FOREACH subfiel IN Tag.0X.subfield %]
|
||||||
<p><b>[% subfiel.marc_lib %]:</b> [% subfiel.marc_value %]</p>
|
<p><b>[% subfiel.marc_lib %]:</b> [% subfiel.marc_value %]</p>
|
||||||
[% END %]
|
[% END %]
|
||||||
</ul>
|
</ul>
|
||||||
|
|
|
@ -168,7 +168,7 @@ foreach my $field (@fields) {
|
||||||
push( @loop_data, \%tag_data );
|
push( @loop_data, \%tag_data );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
$template->param( "0XX" => \@loop_data );
|
$template->param( "Tab0XX" => \@loop_data );
|
||||||
|
|
||||||
my $authtypes = getauthtypes;
|
my $authtypes = getauthtypes;
|
||||||
my @authtypesloop;
|
my @authtypesloop;
|
||||||
|
|
Loading…
Reference in a new issue