]> git.evergreen-ils.org Git - Evergreen.git/commit
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:22:50 +0000 (16:22 -0400)
commitb5ddc813a281b62e98efda801f1b6a7115e6c2ee
tree6503782d41c7d5d1931320d9451e05cac6279089
parent4897a05e8ca1a037eaab392e72a88ae6706fa94c
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