bug #600021: fix lookup of FIFO holds OU setting
authorgmc <gmc@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 1 Jul 2010 02:06:27 +0000 (02:06 +0000)
committergmc <gmc@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 1 Jul 2010 02:06:27 +0000 (02:06 +0000)
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/trunk@16838 dcc99617-32d9-48b4-a31d-7c20da2025e4

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

index 6d0f20a..6fdcae9 100644 (file)
@@ -1993,7 +1993,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(