Bug 8723: Update the reserves table for item-level holds
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 10 Jul 2015 14:04:55 +0000 (15:04 +0100)
committerTomas Cohen Arazi <tomascohen@unc.edu.ar>
Wed, 16 Sep 2015 13:39:02 +0000 (10:39 -0300)
commit9f8f33e351e1ae5810441a0c9ff7226aafb63c8b
tree622c9c1770d9c0996172676a70c98447d8d6f286
parentcb4ce631c316a41ac47a17bfdaa4e5591e0e37df
Bug 8723: Update the reserves table for item-level holds

If an item is moved from a biblio to another, the holds should be
updated too.

See discussion on the bug report for more information.

Test plan:
1/ Place a item-level hold on biblio1
2/ Move the item to biblio2
3/ Confirm that the hold still exists and point to the biblio2

This patch should not change the existing behavior for bib-level holds.

Signed-off-by: Nick Clemens <nick@quecheelibrary.org>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@unc.edu.ar>
C4/Items.pm
t/db_dependent/Items/MoveItemFromBiblio.t