Changed the thawing of a hold to first update the hold record and then re-target. collab/miker/hold_thaw_retarget_order
authorSteven Callender <stevecallender@esilibrary.com>
Tue, 10 Jul 2012 19:43:59 +0000 (15:43 -0400)
committerMike Rylander <mrylander@gmail.com>
Wed, 29 Aug 2012 18:47:34 +0000 (14:47 -0400)
commit1d05c555609f4caa5aacba8ee1bc97afe5678793
tree29e1e8e3778141edf2dc4efce76c62d498f2b9ac
parente04cf39c019f7db506077a3c893cf81f99b0395a
Changed the thawing of a hold to first update the hold record and then re-target.

When thawing a hold, originaly we were first re-targeting before actually saving the hold record. On items with large quantities, sometimes the hold would timeout on targetig before getting a chance to actually save. This patch moves things around to first save the hold record before attempting to retarget.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Holds.pm