[open-ils-commits] r15637 - trunk/Open-ILS/src/perlmods/OpenILS/Application/Circ (phasefx)
svn at svn.open-ils.org
svn at svn.open-ils.org
Wed Feb 24 15:30:29 EST 2010
Author: phasefx
Date: 2010-02-24 15:30:24 -0500 (Wed, 24 Feb 2010)
New Revision: 15637
Modified:
trunk/Open-ILS/src/perlmods/OpenILS/Application/Circ/Holds.pm
Log:
Fix the spurious "Item is already checked out." warning when placing a copy level hold
Modified: trunk/Open-ILS/src/perlmods/OpenILS/Application/Circ/Holds.pm
===================================================================
--- trunk/Open-ILS/src/perlmods/OpenILS/Application/Circ/Holds.pm 2010-02-24 19:36:17 UTC (rev 15636)
+++ trunk/Open-ILS/src/perlmods/OpenILS/Application/Circ/Holds.pm 2010-02-24 20:30:24 UTC (rev 15637)
@@ -2289,7 +2289,7 @@
if($hold_type eq 'C') {
- $query->{where}->{'+acp'}->{id} = $hold_target;
+ $query->{where}->{'+acp'}->{id}->{in}->{where}->{'target_copy'} = $hold_target;
} elsif($hold_type eq 'V') {
More information about the open-ils-commits
mailing list