Bug 7728: Fix subs history end date consistency
authorPaul Poulain <paul.poulain@biblibre.com>
Wed, 9 Dec 2015 10:25:43 +0000 (10:25 +0000)
committerJulian Maurice <julian.maurice@biblibre.com>
Fri, 21 Apr 2017 10:10:33 +0000 (12:10 +0200)
commitfd7d044cdb9858a146b40917bc11d8532378d9eb
tree613c8cf718bd5b3a1755d869f842a9cadd55f9b0
parentcccb8672f529ac366614661d01ef94ee2eb82be7
Bug 7728: Fix subs history end date consistency

Without this patch, there is an inconsistency in subscriptions:
 * a new subscription has no history end date set (as expected)
 * if you renew it, a date is set.

This patch removes the setting of the history end date during renewal

Test plan:
 * create a subscription, go to subscription-detail.pl page, tab "Summary". No History end date is set
 * renew the subscription => a date has been set
 * apply the patch
 * create another subscription
 * renew it => no history end date has been set
 * sign-off

Signed-off-by: beroud <isabelle.beroud@univ-lyon3.fr>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit 1843ee148b25a904d8baffbbe8f0ea504b539a64)
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
(cherry picked from commit 30cfdb9096282175f4bf92b65021a8ef6e3fd052)
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
C4/Serials.pm