From ebb8fb3437935572126028509e8cbbf74b790a22 Mon Sep 17 00:00:00 2001 From: simith Date: Mon, 7 Jul 2014 08:08:02 -0400 Subject: [PATCH] Bug 12536 - Incorrect number of irregularity issues Modified: serials/subscription-detail.pl - fix split command Testing: I Apply the patch 0) Select a serial subscription; 1) Click Edit -> Edit subscription; 2) Click Next; 3) Click Test prediction pattern; 4) Select 3 Vols; 5) Save subscription; 6) Select Planing tab; 7) Valide "Irregularity: 3 issues". Signed-off-by: Aleisha --- serials/subscription-detail.pl | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/serials/subscription-detail.pl b/serials/subscription-detail.pl index 0430aaf..a90a7f4 100755 --- a/serials/subscription-detail.pl +++ b/serials/subscription-detail.pl @@ -104,7 +104,7 @@ $subs->{location} = GetKohaAuthorisedValueLib("LOC",$subs->{location}); $subs->{abouttoexpire} = abouttoexpire($subs->{subscriptionid}); $template->param(%{ $subs }); $template->param(biblionumber_for_new_subscription => $subs->{bibnum}); -my @irregular_issues = split /,/, $subs->{irregularity}; +my @irregular_issues = split /;/, $subs->{irregularity}; my $frequency = C4::Serials::Frequency::GetSubscriptionFrequency($subs->{periodicity}); my $numberpattern = C4::Serials::Numberpattern::GetSubscriptionNumberpattern($subs->{numberpattern}); -- 1.7.2.5