Koha/serials
Julian Maurice 47a9afcb7e Bug 12003: Do not calculate next pubdate for irregular subscriptions
Show 'Unknown' when planneddate and publisheddate cannot be calculated

Also fixes SQL query in misc/cronjobs/serialsUpdate.pl that was still
using "periodicity != 32" to exclude irregular subscriptions from
results

Test plan:

1) Create a subscription in the serials module. Make sure to choose:
   Frequency = Irregular
2) Test the prediction pattern, first publication date is set to
   "First issue publication date" field, others will show as
   'unknown'
3) Save the subscription
4) Check the created issue - it will show a published date and a
   planned date (same as "First issue publication date" field)
5) Receive the issue and check the next generated issue, planned
   date and published date should show as 'Unknown'
6) Generate a next issue, planned date and published date should
   also show as 'Unknown'

Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com>
Work as described following test plan.
No koha-qa errors

Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Passes all tests and QA script.
Also tested:
- multi receiving generates mulitple issues without dates - 'unknown'
- staff detail page shows the dates empty, which is fine
- OPAC detail page shows the dates empty, which is fine
- serial collection page shows 'unknown' and those issues appear
  on the 'manage' tab, as they did in the past
- Editing the issue from the serial collection page leaves the
  date fields empty.
- Receving the issue, setting the status to 'Arrived' the Expected on
  date is set to 'today' automatically. Date published has to be
  entered manually (maybe something we could improve later
- subscription detail > issues tab shows Uknown.
- t/db_dependent/Serials/GetNextDate.t pass.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
2014-04-18 20:57:51 +00:00
..
acqui-search-result.pl Bug 10723: Merge GetPendingOrders and SearchOrders routines 2013-10-21 18:24:32 +00:00
acqui-search.pl
checkexpiration.pl Bug 9108: Followup: send the dateformat value from C4::Auth 2013-01-17 21:59:30 -05:00
claims.pl Bug 10429: improve display of library and library filter on serials claim page 2014-01-06 15:33:28 +00:00
create-numberpattern.pl Bug 7688: (follow-up) update license statements 2013-10-30 02:56:32 +00:00
lateissues-export.pl Bug 7298: (follow-up) various QA fixes 2013-10-31 15:51:25 +00:00
member-search.pl Bug 10277 - Add C4::Context->IsSuperLibrarian() 2013-12-30 15:47:23 +00:00
reorder_members.pl
routing-preview.pl Bug 9823: Refactor return from GetReservesFromBiblionumber 2014-01-30 16:19:55 +00:00
routing.pl bug 10365: change routing slips to use date published rather than planned date 2013-10-10 23:38:11 +00:00
serial-issues.pl
serials-collection.pl Bug 11214: improve create/edit routing list links in serial collection page 2013-11-27 18:23:54 +00:00
serials-edit.pl Bug 8435: add permission to enable editing other library's serials if IndependantBranches is on 2013-10-31 15:27:19 +00:00
serials-home.pl
serials-recieve.pl Bug 7688: Change subscription numbering pattern and frequencies 2013-10-30 00:29:38 +00:00
serials-search.pl Bug 10852: serials search improvements 2013-12-14 00:34:30 +00:00
showpredictionpattern.pl Bug 12003: Do not calculate next pubdate for irregular subscriptions 2014-04-18 20:57:51 +00:00
subscription-add.pl Bug 10277 - Add C4::Context->IsSuperLibrarian() 2013-12-30 15:47:23 +00:00
subscription-bib-search.pl Bug 11096: support the retrieval of large MARCXML records 2014-02-28 19:50:09 +00:00
subscription-detail.pl Bug 8435: add permission to enable editing other library's serials if IndependantBranches is on 2013-10-31 15:27:19 +00:00
subscription-frequencies.pl Bug 7688: (follow-up) update license statements 2013-10-30 02:56:32 +00:00
subscription-frequency.pl Bug 7688: (follow-up) update license statements 2013-10-30 02:56:32 +00:00
subscription-history.pl Bug 7688: (follow-up) update license statements 2013-10-30 02:56:32 +00:00
subscription-numberpattern.pl Bug 7688: (follow-up) update license statements 2013-10-30 02:56:32 +00:00
subscription-numberpatterns.pl Bug 7688: (follow-up) update license statements 2013-10-30 02:56:32 +00:00
subscription-renew.pl bug 10728: fix additional log noise generated by subscription-renew.pl 2013-08-19 14:10:38 +00:00
viewalerts.pl