LP#1296937: move the $force_bc parameter of ->charged_items() to an implementation... user/gmcharlt/lp1296937_split_public_and_private_interfaces
authorGalen Charlton <gmc@esilibrary.com>
Tue, 20 May 2014 17:09:08 +0000 (10:09 -0700)
committerGalen Charlton <gmc@esilibrary.com>
Tue, 20 May 2014 17:12:41 +0000 (10:12 -0700)
commit80ee14131784fcea8f8c2e0eafe6d57c97076d37
tree5bc03cf66b0cd582af62c08e1e78ebf6cb32f4b3
parent2f27b78cf93e33b784f50f0c4ea5d71583532da7
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>
Open-ILS/src/perlmods/lib/OpenILS/SIP/Patron.pm
Open-ILS/src/perlmods/lib/OpenILS/SIP/Transaction/RenewAll.pm