Fix inability to suspend holds user/tsbere/fix_suspend_hold
authorThomas Berezansky <tsbere@mvlc.org>
Tue, 31 Jan 2012 15:48:25 +0000 (10:48 -0500)
committerThomas Berezansky <tsbere@mvlc.org>
Tue, 31 Jan 2012 15:48:25 +0000 (10:48 -0500)
commit9e052fe5cc0ec7e1a874cd258a0fc387493354c3
treee5732fa57b002abe0f6e2df5e36b8dfb69bdbf2b
parentc9a0a768c2220cca9e4564ddd5632b9ee3db64b2
Fix inability to suspend holds

The hold status code was being used for "has the hold been captured", but
the value for "frozen" was after the cutoff being assumed for "captured".

So check for the suspended code specifically in the if, and don't return
the suspended code if there is a capture time.

Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Holds.pm