[open-ils-commits] r14351 - branches/rel_1_6_0/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher (miker)

svn at svn.open-ils.org svn at svn.open-ils.org
Mon Oct 12 01:08:57 EDT 2009


Author: miker
Date: 2009-10-12 01:08:53 -0400 (Mon, 12 Oct 2009)
New Revision: 14351

Modified:
   branches/rel_1_6_0/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/action.pm
Log:
forward-porting r14346: pass the patron id (instead of the object) and the appropriate context org to the penalty calculator

Modified: branches/rel_1_6_0/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/action.pm
===================================================================
--- branches/rel_1_6_0/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/action.pm	2009-10-12 05:08:35 UTC (rev 14350)
+++ branches/rel_1_6_0/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/action.pm	2009-10-12 05:08:53 UTC (rev 14351)
@@ -776,7 +776,8 @@
 
 			    $penalty->request(
 				    'open-ils.penalty.patron_penalty.calculate',
-				    { patron	=> $c->usr->to_fieldmapper,
+				    { patronid	=> ''.$c->usr,
+				    context_org	=> ''.$c->circ_lib,
 				    update	=> 1,
 				    background	=> 1,
 				    }



More information about the open-ils-commits mailing list