[Koha-bugs] [Bug 15148] Serials: Test prediction pattern starts at First issue date, not Subscription start date

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Jan 7 11:32:07 CET 2020


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15148

--- Comment #8 from Fridolin SOMERS <fridolin.somers at biblibre.com> ---
Look at serials/subscription-add.pl _guess_enddate() :

        } elsif($frequency->{'unit'} eq 'month') {
            ($year, $month, $day) = Add_Delta_YM(split(/-/, $startdate_iso), 0,
$numberlength * $frequency->{'unitsperissue'} / $frequency->{'issuesperunit'});

It is called by :

        if($subtype eq "issues") {
            $enddate = _guess_enddate($firstacquidate, $periodicity,
$numberlength, $weeklength, $monthlength)
        } else {
            $enddate = _guess_enddate($startdate, $periodicity, $numberlength,
$weeklength, $monthlength)
        }

You see subscription start date is used.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list