Bug 19315: Use bibnum instead of biblionumber in routing-preview.pl and add item...
authorNick Clemens <nick@bywatersolutions.com>
Thu, 14 Sep 2017 12:23:09 +0000 (12:23 +0000)
committerFridolin Somers <fridolin.somers@biblibre.com>
Fri, 27 Oct 2017 10:36:33 +0000 (12:36 +0200)
commit5fdb8880b45810c4f57f8303173be747157fe1d6
tree9e494c45e137867827a3a4ad59fdc8482a814449
parent4ea7a76d2666405ba66a085f4ff1a550c8d7ae6e
Bug 19315: Use bibnum instead of biblionumber in routing-preview.pl and add item check

To test:
 1 - Create a serial subscription attached to a record
 2 - Receive some issues
 3 - Edit the subscription
 4 - Go to serails collection
 5 - Try to print a routing list
 6 - You may or may not get the right serial
 7 - Additionally create a subscription attached to a bib with no items
 8 - Try to print a routing list for this serial
 9 - You will get 'Internal server error'
10 - Apply patch
11 - Print routing list for first serial
12 - You will always get the correct bib
13 - Print routing list for second serial
14 - You should no longer get an error

Signed-off-by: Caroline Cyr La Rose <caroline.cyr-la-rose@inlibro.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 285d72a023daab65626a3ba0f90e20ccfad45c95)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
serials/routing-preview.pl