Bug 13368 Holds priority messed up on checkout
authorChris Cormack <chrisc@catalyst.net.nz>
Tue, 2 Dec 2014 01:16:40 +0000 (14:16 +1300)
committerChris Cormack <chrisc@catalyst.net.nz>
Thu, 18 Dec 2014 01:18:41 +0000 (14:18 +1300)
commit7ad70ef214928f3aa9c33feee4a644f11ffe4eda
tree71c38ffc8d2b0210bbc3d5f8914c5f5a4d744eda
parentc09df7ab9d6b0b75281af637b54ec9d3096334d5
Bug 13368 Holds priority messed up on checkout

To Test

1/ Create 3 (or more holds) on one biblionumber, make sure at least
one item is not on loan
2/ Check out the not on loan item to a borrower (maybe number 2 in the
queue)
3/ Look in the database (or on the holds tab on the moredetail.pl)
notice the priorities have not been reordered
4/ Apply patch and try again, notice now they have

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Confirmed the problem without the patch, and confirmed that the patch
corrects it.

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
(cherry picked from commit ef6bc21b2c4ebe04f6d22d081e447f6bb2955029)
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
C4/Reserves.pm