Changed the thawing of a hold to first update the hold record and then re-target. collab/Callender/hold_thaw_fix
authorSteven Callender <stevecallender@esilibrary.com>
Tue, 10 Jul 2012 19:43:59 +0000 (15:43 -0400)
committerSteven Callender <stevecallender@esilibrary.com>
Tue, 10 Jul 2012 19:43:59 +0000 (15:43 -0400)
commit08021154c7018296e0c03d85d7ffaccd745fcbc4
tree2065168a04bd7ff9fe0a4ae5287b44604d025271
parent81774d99db4de4dd5b118f898f23f919a5d395f2
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.
Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Holds.pm