Bug 7442: (follow-up) restore display of heading type for non-UNIMARC
This patch restores the display of the authority type summary for MARC21, where at present the heading type (i.e., "Topical Term", "Personal Names") come over for display in the template. Signed-off-by: Galen Charlton <gmc@esilibrary.com>
This commit is contained in:
parent
ebcb64e9fa
commit
9fe024667f
|
|
@ -896,6 +896,11 @@ sub BuildSummary {
|
|||
$summary{authtypecode} = $authref->{authtypecode};
|
||||
$summary{type} = $authref->{authtypetext};
|
||||
$summary_template = $authref->{summary};
|
||||
# for MARC21, the authority type summary displays a label meant for
|
||||
# display
|
||||
if (C4::Context->preference('marcflavour') ne 'UNIMARC') {
|
||||
$summary{summary} = $authref->{summary};
|
||||
}
|
||||
}
|
||||
my $marc21subfields = 'abcdfghjklmnopqrstuvxyz68';
|
||||
my %marc21controlrefs = ( 'a' => 'earlier',
|
||||
|
|
|
|||
|
|
@ -50,6 +50,7 @@
|
|||
[% END %]
|
||||
[% END %]
|
||||
[% BLOCK authresult %]
|
||||
[% IF ( summary.summary ) %][% summary.summary | html %]:[% END %]
|
||||
<div class="authres_repet">
|
||||
[% FOREACH repet IN summary.repets %]
|
||||
<span>[% repet | html %]</span>
|
||||
|
|
|
|||
|
|
@ -49,6 +49,7 @@
|
|||
[% END %]
|
||||
[% END %]
|
||||
[% BLOCK authresult %]
|
||||
[% IF ( summary.summary ) %][% summary.summary | html %]:[% END %]
|
||||
<div class="authres_repet">
|
||||
[% FOREACH repet IN summary.repets %]
|
||||
<span>[% repet | html %]</span>
|
||||
|
|
|
|||
Loading…
Reference in New Issue