[open-ils-commits] [GIT] Evergreen ILS branch rel_3_1 updated. 7a78d03100756d91f92b930f5fef4858f9659194
Evergreen Git
git at git.evergreen-ils.org
Wed Jul 11 11:09:12 EDT 2018
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_3_1 has been updated
via 7a78d03100756d91f92b930f5fef4858f9659194 (commit)
from 6996a3630dea3d6fd967c127417a800aba561603 (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 7a78d03100756d91f92b930f5fef4858f9659194
Author: Michele Morgan <mmorgan at noblenet.org>
Date: Thu Sep 14 11:48:31 2017 -0400
LP#1692116 - Action trigger validator fix for paid Long Overdue items
Adds a check for a NULL xact_finish to the CircIsOpen validator. The
result is that overdue notification a/t events for Long Overdue items that
have been paid for, and the transaction closed, will be invalid.
Signed-off-by: Michele Morgan <mmorgan at noblenet.org>
Signed-off-by: Chris Sharp <csharp at georgialibraries.org>
diff --git a/Open-ILS/src/perlmods/lib/OpenILS/Application/Trigger/Validator.pm b/Open-ILS/src/perlmods/lib/OpenILS/Application/Trigger/Validator.pm
index db909a5..1a53dfb 100644
--- a/Open-ILS/src/perlmods/lib/OpenILS/Application/Trigger/Validator.pm
+++ b/Open-ILS/src/perlmods/lib/OpenILS/Application/Trigger/Validator.pm
@@ -18,6 +18,7 @@ sub CircIsOpen {
my $env = shift;
return 0 if (defined($env->{target}->checkin_time));
+ return 0 if (defined($env->{target}->xact_finish));
if ($env->{params}->{min_target_age}) {
$env->{params}->{target_age_field} = 'xact_start';
-----------------------------------------------------------------------
Summary of changes:
.../lib/OpenILS/Application/Trigger/Validator.pm | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
hooks/post-receive
--
Evergreen ILS
More information about the open-ils-commits
mailing list