LP#1296937: move the $force_bc parameter of ->charged_items() to an implementation... user/miker/lp1296937_split_public_and_private_interfaces
authorGalen Charlton <gmc@esilibrary.com>
Tue, 20 May 2014 17:09:08 +0000 (10:09 -0700)
committerMike Rylander <mrylander@gmail.com>
Thu, 22 May 2014 16:39:20 +0000 (12:39 -0400)
commit3cfe66c9585e61b550a678ea0f1dde5fe63d9f27
tree5bc03cf66b0cd582af62c08e1e78ebf6cb32f4b3
parentc7023cd565ac559a6f7d71b775362e004980d0d9
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: Mike Rylander <mrylander@gmail.com>
Open-ILS/src/perlmods/lib/OpenILS/SIP/Patron.pm
Open-ILS/src/perlmods/lib/OpenILS/SIP/Transaction/RenewAll.pm