[open-ils-commits] [GIT] Evergreen ILS branch rel_2_8 updated. 5f81d728561ca43c9cbdf2646f0ba1fdb96f342d

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_8 has been updated
       via  5f81d728561ca43c9cbdf2646f0ba1fdb96f342d (commit)
      from  1b61cf16d3ed647ff4fa432ed5f82d2f473ba0ad (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 5f81d728561ca43c9cbdf2646f0ba1fdb96f342d
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 c79bd0d..75f43a8 100644
--- a/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Circulate.pm
+++ b/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Circulate.pm
@@ -2829,7 +2829,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