]> git.koha-community.org Git - koha.git/commit
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)
committerChris Cormack <chris@bigballofwax.co.nz>
Tue, 22 Sep 2015 17:34:07 +0000 (05:34 +1200)
commit0a0f8b09d947aabef21c6cb79e796786ce3be7d5
treed618730f83e6a7d739e4bdb054e936ff2f9256df
parent3caa3703c272be52b6cf161a086271ca9be3eb01
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>
(cherry picked from commit 9f8f33e351e1ae5810441a0c9ff7226aafb63c8b)
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
C4/Items.pm
t/db_dependent/Items/MoveItemFromBiblio.t