[open-ils-commits] r14353 - trunk/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:10:08 EDT 2009
Author: miker
Date: 2009-10-12 01:10:04 -0400 (Mon, 12 Oct 2009)
New Revision: 14353
Modified:
trunk/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: trunk/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/action.pm
===================================================================
--- trunk/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/action.pm 2009-10-12 05:09:26 UTC (rev 14352)
+++ trunk/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/action.pm 2009-10-12 05:10:04 UTC (rev 14353)
@@ -775,7 +775,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