From be0231e5504186209c52c44f4e2c6334b2b13131 Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Thu, 17 Dec 2015 18:13:52 -0500 Subject: [PATCH] allow both CHECKIN and CHECKOUT alerts to fire during renewal Signed-off-by: Galen Charlton --- Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Circulate.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 c98b2f6d48..e3e7fa2f9b 100644 --- a/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Circulate.pm +++ b/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Circulate.pm @@ -677,8 +677,8 @@ sub filter_user_copy_alerts { foreach my $a (@$alerts) { # filter on event type if (defined $a->alert_type) { - next if ($a->alert_type->event eq 'CHECKIN' && !$self->is_checkin); - next if ($a->alert_type->event eq 'CHECKOUT' && !$self->is_checkout); + next if ($a->alert_type->event eq 'CHECKIN' && !$self->is_checkin && !$self->is_renewal); + next if ($a->alert_type->event eq 'CHECKOUT' && !$self->is_checkout && !$self->is_renewal); next if (defined $a->alert_type->in_renew && $U->is_true($a->alert_type->in_renew) && !$self->is_renewal); } -- 2.11.0