[Koha-patches] [PATCH] [SIGNED-OFF] Bug 4433: Small display problem for topical subjects
Marcel de Rooy
M.de.Rooy at rijksmuseum.nl
Mon Jul 18 09:07:52 CEST 2011
From: Katrin Fischer <Katrin.Fischer.83 at 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.rooy at 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
More information about the Koha-patches
mailing list