]> git.koha-community.org Git - koha.git/commit
Bug 15149: Serial test prediction pattern does not consider end date
authorFridolin Somers <fridolin.somers@biblibre.com>
Thu, 21 Feb 2019 16:21:58 +0000 (17:21 +0100)
committerJesse Maseto <jesse@bywatersolutions.com>
Fri, 8 Mar 2019 18:41:13 +0000 (18:41 +0000)
commit7612fc325f48fe7d36ae00a42f29ec1895b2b700
treebbe641c92cb3427e349819c5c6a3bd1ab6b70bde
parentd9e1ce3df55c2bc5f8026a8dd18babd558dab1c7
Bug 15149: Serial test prediction pattern does not consider end date

To reproduce:

1) add a serial.
2) set first issue = today
3) set frequency = 1/month
4) dont set subscription length
5) set subscription start date = today
6) set subscription start date = today + 1 year
7) set numbering pattern = Number
8) test prediction pattern.
=> Without patch : you will get a list of 1000 issues, going well beyond subscripton end date.
=> With patch : shows only the issues within the date range.

Signed-off-by: Séverine QUEUNE <severine.queune@bulac.fr>
Signed-off-by: Séverine QUEUNE <severine.queune@bulac.fr>
Signed-off-by: zhihui <zhihui@inlibro.com>
Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
(cherry picked from commit e3212c8a969ff17783e50d564aaa412bd01a99b1)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit c20af7c877b8a13f51cb94aec97dee55fc15db56)

Signed-off-by: Jesse Maseto <jesse@bywatersolutions.com>
serials/showpredictionpattern.pl