From f8cec7ba133ee4dc8a8a847ae0af64d5b862b47d Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Tue, 7 Sep 2010 16:59:52 +0200 Subject: [PATCH] Fix for Bug 4922 - Item display tries to show serial info for titles with series tags Removing check for "is this a serial record" when displaying enumchron information. This check evaluates as true for all biblio records which have a series title, so it's an inaccurate determiner of whether enumchron information should be displayed. The script already checks for the presence of enumchron data, so that will display anyway if it exists. Signed-off-by: Katrin Fischer Signed-off-by: Galen Charlton --- catalogue/detail.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/catalogue/detail.pl b/catalogue/detail.pl index 85819c0455..4f6c23f6f0 100755 --- a/catalogue/detail.pl +++ b/catalogue/detail.pl @@ -106,7 +106,7 @@ my $dat = &GetBiblioData($biblionumber); my $subscriptionsnumber = CountSubscriptionFromBiblionumber($biblionumber); my @subscriptions = GetSubscriptions( $dat->{title}, $dat->{issn}, $biblionumber ); my @subs; -$dat->{'serial'}=1 if $subscriptionsnumber; + foreach my $subscription (@subscriptions) { my %cell; my $serials_to_display; @@ -212,7 +212,7 @@ $template->param( itemdata_enumchron => $itemfields{enumchron}, itemdata_uri => $itemfields{uri}, itemdata_copynumber => $itemfields{copynumber}, - volinfo => $itemfields{enumchron} || $dat->{'serial'} , + volinfo => $itemfields{enumchron}, z3950_search_params => C4::Search::z3950_search_args($dat), C4::Search::enabled_staff_search_views, ); -- 2.39.5