From c9a0019f3800e6a926c41f17174f83485a86fbbe Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Sun, 17 Jul 2011 22:43:31 +0200 Subject: [PATCH] [SIGNED-OFF] Bug 4433: Small display problem for topical subjects Content-Type: text/plain; charset="utf-8" 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 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