From: senator Date: Wed, 19 Jan 2011 21:55:14 +0000 (+0000) Subject: Backport r19214 from trunk X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=73acf3a2c0a02b16ca7386f6d271cf04b268c4b1;p=Evergreen.git Backport r19214 from trunk Booking: Robert Soulliere spotted and fixed a bug in processing reservation- related overdue fines. See https://bugs.launchpad.net/evergreen/+bug/705061 git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_6_1@19217 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 eb77f24c16..1ff90a03bb 100644 --- a/Open-ILS/src/perlmods/OpenILS/Application/AppUtils.pm +++ b/Open-ILS/src/perlmods/OpenILS/Application/AppUtils.pm @@ -1551,6 +1551,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},