Bug 32392: Enable skipping forward issues when receiving serials.
authorBjörn Nylén <bjorn.nylen@ub.lu.se>
Fri, 1 Apr 2022 14:13:47 +0000 (14:13 +0000)
committerKatrin Fischer <katrin.fischer@bsz-bw.de>
Mon, 29 Apr 2024 13:19:30 +0000 (15:19 +0200)
commit005a872869f6bc6131911422f96172729b919e32
tree5e6c1bdcbf44982fbb3227c388ee0ab396c8d281
parent3f31f327cc2e68316db17256c3410045e832d6be
Bug 32392: Enable skipping forward issues when receiving serials.

This patch adds the ability to skip forward issues when receiving and generating the next issue
from both the serial receive page and serial collection page.

To test:
1. Apply patch.
2. Set up a subscription for a bib record.
3. Go to Serials -> Search your subscription -> Serial receive
4. Note that below last expected issue there will be checkbox to toggle a field to
   specify how many issues to skip when recieving and generating the next.
5. On serials-collection page there is also a button 'Skip issues and generate next'.
   When pressed will open a modal promting how many issues to skip.
6. Generate issues with different values and make sure the correct issue is generated.

​Sponsored-by: Lund University Library
Sponsored-by: Bibliotek Mellansjö, Sweden
Co-authored-by: Johan Sahlberg <johan.sahlberg@tidaholm.se>
Signed-off-by: Marie Hedbom <marie.hedbom@musikverket.se>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
C4/Serials.pm
koha-tmpl/intranet-tmpl/prog/en/includes/modals/serials_skip_issues.inc [new file with mode: 0644]
koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-collection.tt
koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-edit.tt
serials/serials-collection.pl
serials/serials-edit.pl