From 4d81858ec6c6c0bd5196eb319ef91707655278ec Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Sun, 17 Jul 2011 22:43:31 +0200 Subject: [PATCH] Bug 4433: Small display problem for topical subjects 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) Signed-off-by: Chris Cormack --- C4/AuthoritiesMarc.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/C4/AuthoritiesMarc.pm b/C4/AuthoritiesMarc.pm index fa2ef00075..e206d25542 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; -- 2.39.5