LP#1296937: move the $force_bc parameter of ->charged_items() to an implementation...
authorGalen Charlton <gmc@esilibrary.com>
Tue, 20 May 2014 17:09:08 +0000 (10:09 -0700)
committerJeff Godin <jgodin@tadl.org>
Wed, 28 May 2014 20:23:26 +0000 (16:23 -0400)
commit5dda3727fdddc7364be3afb09934700df227e4f9
tree1ef9e8ee6e9ba51767f82ca4e3374db779169e61
parent1aae891b4c298fc341a8314ca3a70936491969df
LP#1296937: move the $force_bc parameter of ->charged_items() to an implementation method

Argubably, the $force_bc parameter of OpenILS::SIP::Patron->charged_items()
method exists solely as an implementation convenience for the renew-all
code.  Consequently, this patch removes the $force_bc parameter from the
public interface for charged_items() and spins it off into a new
implementation method.

This patch should be applied at the same time that a reversion of
SIPServer commit c97d64412bc is applied.  Note that a user who upgrades
SIPServer without upgrading Evergreen to a version that contains this
patch will end up in a situation where the code that counts active
loans for the patron information response will fetch the loans using
$force_bc set to true; this works only by coincidence.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jeff Godin <jgodin@tadl.org>
Open-ILS/src/perlmods/lib/OpenILS/SIP/Patron.pm
Open-ILS/src/perlmods/lib/OpenILS/SIP/Transaction/RenewAll.pm