From 9db8ce63741bbff57d5377a787bc489a2fdaa52f Mon Sep 17 00:00:00 2001 From: senator Date: Wed, 19 Jan 2011 21:52:28 +0000 Subject: [PATCH] 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 --- Open-ILS/src/perlmods/OpenILS/Application/AppUtils.pm | 8 ++++++++ 1 file changed, 8 insertions(+) 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 @@ -1622,6 +1622,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", -- 2.43.2