[open-ils-commits] r14525 - trunk/Open-ILS/src/perlmods/OpenILS/Application/Circ (erickson)

svn at svn.open-ils.org svn at svn.open-ils.org
Wed Oct 21 10:44:19 EDT 2009


Author: erickson
Date: 2009-10-21 10:44:17 -0400 (Wed, 21 Oct 2009)
New Revision: 14525

Modified:
   trunk/Open-ILS/src/perlmods/OpenILS/Application/Circ/Circulate.pm
Log:
added 'return_patron' option on renewals to return the patron object in the final payload

Modified: trunk/Open-ILS/src/perlmods/OpenILS/Application/Circ/Circulate.pm
===================================================================
--- trunk/Open-ILS/src/perlmods/OpenILS/Application/Circ/Circulate.pm	2009-10-21 14:38:11 UTC (rev 14524)
+++ trunk/Open-ILS/src/perlmods/OpenILS/Application/Circ/Circulate.pm	2009-10-21 14:44:17 UTC (rev 14525)
@@ -406,6 +406,7 @@
     noop
     void_overdues
     parent_circ
+    return_patron
 /;
 
 
@@ -1247,7 +1248,8 @@
                 holds_fulfilled  => $self->fulfilled_holds,
                 deposit_billing  => $self->deposit_billing,
                 rental_billing   => $self->rental_billing,
-                parent_circ      => $pcirc
+                parent_circ      => $pcirc,
+                patron           => ($self->return_patron) ? $self->patron : undef
             }
         )
     );



More information about the open-ils-commits mailing list