Bugzilla – Attachment 85586 Details for
Bug 15149
Serials: Test prediction pattern does not consider Subscription start and end date
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 15149: Serial test prediction pattern does not consider end date
Bug-15149-Serial-test-prediction-pattern-does-not-.patch (text/plain), 1.68 KB, created by
Josef Moravec
on 2019-02-25 08:36:07 UTC
(
hide
)
Description:
Bug 15149: Serial test prediction pattern does not consider end date
Filename:
MIME Type:
Creator:
Josef Moravec
Created:
2019-02-25 08:36:07 UTC
Size:
1.68 KB
patch
obsolete
>From d0918ddf9e015b81bd04e69b57f9eeaad0f113a7 Mon Sep 17 00:00:00 2001 >From: Fridolin Somers <fridolin.somers@biblibre.com> >Date: Thu, 21 Feb 2019 17:21:58 +0100 >Subject: [PATCH] Bug 15149: Serial test prediction pattern does not consider > end date >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >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> >--- > serials/showpredictionpattern.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/serials/showpredictionpattern.pl b/serials/showpredictionpattern.pl >index ec55f0e079..4a3f7b2a64 100755 >--- a/serials/showpredictionpattern.pl >+++ b/serials/showpredictionpattern.pl >@@ -51,7 +51,7 @@ my $subscriptionid = $input->param('subscriptionid'); > my $frequencyid = $input->param('frequency'); > my $firstacquidate = $input->param('firstacquidate'); > my $nextacquidate = $input->param('nextacquidate'); >-my $enddate = $input->param('enddate'); >+my $enddate = $input->param('to'); > my $subtype = $input->param('subtype'); > my $sublength = $input->param('sublength'); > my $custompattern = $input->param('custompattern'); >-- >2.11.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 15149
:
85501
|
85523
|
85574
| 85586