Bug 11637: don't try to guess publication dates for irregular subscriptions
authorJonathan Druart <jonathan.druart@biblibre.com>
Fri, 21 Feb 2014 16:16:43 +0000 (17:16 +0100)
committerGalen Charlton <gmc@esilibrary.com>
Fri, 14 Mar 2014 15:16:44 +0000 (15:16 +0000)
commitfac91e2ce1210ad202e321d1f4de2383ac693dd3
treef8dd36710c63e92fa40fbc4dc1f51b2cd21e9981
parent24470f70e1e420883f3eb8cc594211568729f9ee
Bug 11637: don't try to guess publication dates for irregular subscriptions

Test plan:
Create a subscription with an irregular numbering pattern.

Verify the prediction pattern. With this patch, it should show "unknown"
instead of the date of the first issue publication date.

This patch does not fix the issue on generating the next serial.

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
This is a partial fix for a small regression in the serials module.
Now the prediction pattern doesn't predict dates when you test it,
and shows 'Unknown' instead.

We still need to fix the 'planned date' set for the expected serial.
There should be no date, it should also be 'unknown'.

Passes tests and QA script.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
serials/showpredictionpattern.pl