From: senator <senator@dcc99617-32d9-48b4-a31d-7c20da2025e4> Date: Wed, 19 Jan 2011 21:52:28 +0000 (+0000) Subject: Booking: Robert Soulliere spotted and fixed a bug in processing reservation- X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=9db8ce63741bbff57d5377a787bc489a2fdaa52f;p=contrib%2FConifer.git Booking: Robert Soulliere spotted and fixed a bug in processing reservation- related overdue fines. See https://bugs.launchpad.net/evergreen/+bug/705061 This patch tests successfully for me. Thanks Robert! git-svn-id: svn://svn.open-ils.org/ILS/trunk@19214 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/src/perlmods/OpenILS/Application/AppUtils.pm b/Open-ILS/src/perlmods/OpenILS/Application/AppUtils.pm index c3c7ae0c7e..ec5c56fd93 100644 --- a/Open-ILS/src/perlmods/OpenILS/Application/AppUtils.pm +++ b/Open-ILS/src/perlmods/OpenILS/Application/AppUtils.pm @@ -1623,6 +1623,14 @@ sub xact_org { return $loc->[0]->{circ_lib} if @$loc; $loc = $e->json_query({ + "select" => {bresv => ["request_lib"]}, + from => "bresv", + "where" => {id => $xact_id}, + }); + + return $loc->[0]->{request_lib} if @$loc; + + $loc = $e->json_query({ "select" => {mg => ["billing_location"]}, from => "mg", "where" => {id => $xact_id},