[open-ils-commits] r19216 - branches/rel_1_6/Open-ILS/src/perlmods/OpenILS/Application (senator)

svn at svn.open-ils.org svn at svn.open-ils.org
Wed Jan 19 16:54:47 EST 2011


Author: senator
Date: 2011-01-19 16:54:42 -0500 (Wed, 19 Jan 2011)
New Revision: 19216

Modified:
   branches/rel_1_6/Open-ILS/src/perlmods/OpenILS/Application/AppUtils.pm
Log:
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


Modified: branches/rel_1_6/Open-ILS/src/perlmods/OpenILS/Application/AppUtils.pm
===================================================================
--- branches/rel_1_6/Open-ILS/src/perlmods/OpenILS/Application/AppUtils.pm	2011-01-19 21:53:32 UTC (rev 19215)
+++ branches/rel_1_6/Open-ILS/src/perlmods/OpenILS/Application/AppUtils.pm	2011-01-19 21:54:42 UTC (rev 19216)
@@ -1583,6 +1583,14 @@
     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},



More information about the open-ils-commits mailing list