backport r16838 from trunk
authorgmc <gmc@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 1 Jul 2010 02:29:21 +0000 (02:29 +0000)
committergmc <gmc@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 1 Jul 2010 02:29:21 +0000 (02:29 +0000)
bug #600021: fix lookup of FIFO holds OU setting

Patch from Anoop Atre that fixes enabling FIFO
holds via the circ.holds_fifo org unit setting.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_6_1@16841 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/src/perlmods/OpenILS/Application/Circ/Holds.pm

index 99a274e..208531b 100644 (file)
@@ -1574,7 +1574,7 @@ sub find_nearest_permitted_hold {
        $logger->info("circulator: searching for best hold at org ".$user->ws_ou.
         " and copy $bc with a hold stalling interval of ". ($hold_stall_interval || "(none)"));
 
-    my $fifo = $U->ou_ancestor_setting_value($user->ws_ou, 'circ.hold_fifo');
+       my $fifo = $U->ou_ancestor_setting_value($user->ws_ou, 'circ.holds_fifo');
 
        # search for what should be the best holds for this copy to fulfill
        my $best_holds = $U->storagereq(