[open-ils-commits] [GIT] Evergreen ILS branch master updated. dcdce0104ab35cf62036ea6e0320e83c815aca80

Evergreen Git git at git.evergreen-ils.org
Wed Aug 19 11:25:22 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, master has been updated
       via  dcdce0104ab35cf62036ea6e0320e83c815aca80 (commit)
      from  e4a3fd1a25734f35d05894a834e6ef01e26e2165 (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 dcdce0104ab35cf62036ea6e0320e83c815aca80
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: 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 9bf33a9..f92f5b8 100644
--- a/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Circulate.pm
+++ b/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Circulate.pm
@@ -2618,7 +2618,7 @@ sub finish_fines_and_voiding {
     my $note = 'System: Amnesty Checkin' if $self->void_overdues;
 
     my $evt = $CC->void_or_zero_overdues(
-        $self->editor, $self->circ, {backdate => $self->backdate, note => $note});
+        $self->editor, $self->circ, {backdate => $self->void_overdues ? undef : $self->backdate, note => $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