Changed the thawing of a hold to first update the hold record and then re-target.
authorSteven Callender <stevecallender@esilibrary.com>
Tue, 10 Jul 2012 19:43:59 +0000 (15:43 -0400)
committerBill Erickson <berick@esilibrary.com>
Thu, 30 Aug 2012 17:34:56 +0000 (13:34 -0400)
commitea3c080f79fe9670f782330bf51acec5fb53d1bb
treef91d2e49440942f33cc70874a65fa21e3fc15f73
parent82015125fc0444744438b937d961953f6e4dbcd3
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>
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Holds.pm