From: Katrin Fischer <katrin.fischer...@web.de> This removes the subfield codes shown for topical subject authorities only.
To test: - Add different authority records and at least one for a topical subject. - Use search in intranet and opac (turn on opacauthorities) to serch for your subjects. - All headings will show without the subfield codes (at least $a in front), except the topical subject. This patch removes the subfield codes for the topical headings. Signed-off-by: Marcel de Rooy <m.de.r...@rijksmuseum.nl> Works as advertised in opac and staff. (July 18, 2011) --- C4/AuthoritiesMarc.pm | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/C4/AuthoritiesMarc.pm b/C4/AuthoritiesMarc.pm index fa2ef00..e206d25 100644 --- a/C4/AuthoritiesMarc.pm +++ b/C4/AuthoritiesMarc.pm @@ -1075,8 +1075,8 @@ sub BuildSummary{ } elsif ($record->field('148')) { $heading.= $field->as_string('abvxyz68'); } elsif ($record->field('150')) { - # $heading.= $field->as_string('abvxyz68'); - $heading.= $field->as_formatted(); + $heading.= $field->as_string('abvxyz68'); + #$heading.= $field->as_formatted(); my $tag=$field->tag(); $heading=~s /^$tag//g; $heading =~s /\_/\$/g; -- 1.6.0.6 _______________________________________________ Koha-patches mailing list Koha-patches@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-patches website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/