From b4c0eb4a518b20ad8115ebfad6e28303c91203e5 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 Signed-off-by: Kyle M Hall Signed-off-by: Katrin Fischer Note: You have to select more than 1 issue as not to be published to see the problem. Signed-off-by: Tomas Cohen Arazi --- serials/subscription-detail.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/serials/subscription-detail.pl b/serials/subscription-detail.pl index 0cceb34ebe..0c0d673757 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}); -- 2.39.5