[open-ils-commits] [GIT] Evergreen ILS branch rel_2_7 updated. 2fd6c8239bacffdd2d57f64972c86f273b00fbb9

Evergreen Git git at git.evergreen-ils.org
Tue Aug 18 22:56:21 EDT 2015


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Evergreen ILS".

The branch, rel_2_7 has been updated
       via  2fd6c8239bacffdd2d57f64972c86f273b00fbb9 (commit)
      from  f6a60e9c4d2c9512a7c93c6f6ab1ae6590a63931 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 2fd6c8239bacffdd2d57f64972c86f273b00fbb9
Author: Thomas Berezansky <tsbere at mvlc.org>
Date:   Wed Apr 15 10:48:03 2015 -0400

    LP#1444514: Have amnesty mode override backdate for voiding
    
    Otherwise you get amnesty notes on just backdate voiding.
    
    Signed-off-by: Thomas Berezansky <tsbere at mvlc.org>
    Signed-off-by: Michele Morgan <mmorgan at noblenet.org>
    Signed-off-by: Ben Shum <bshum at biblio.org>

diff --git a/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Circulate.pm b/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Circulate.pm
index e910c70..710c265 100644
--- a/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Circulate.pm
+++ b/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Circulate.pm
@@ -2794,7 +2794,7 @@ sub finish_fines_and_voiding {
     my $note = 'System: Amnesty Checkin' if $self->void_overdues;
 
     my $evt = OpenILS::Application::Circ::CircCommon->void_overdues(
-        $self->editor, $self->circ, $self->backdate, $note);
+        $self->editor, $self->circ, $self->void_overdues ? undef : $self->backdate, $note);
 
     return $self->bail_on_events($evt) if $evt;
 

-----------------------------------------------------------------------

Summary of changes:
 .../lib/OpenILS/Application/Circ/Circulate.pm      |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list