From 4f99ab2b4596422078b817cbc2df2c429b43e068 Mon Sep 17 00:00:00 2001 From: Kathy Lussier Date: Mon, 27 Apr 2015 12:21:48 -0400 Subject: [PATCH] Copy alert displays at checkin only A tweak for sites that only want copy alerts to display at checkin. This tweak will be applied for all copy alerts at all libraries. Signed-off-by: Kathy Lussier --- Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Circulate.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 70c4a64d51..1cc7cd3a11 100644 --- a/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Circulate.pm +++ b/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Circulate.pm @@ -1381,7 +1381,7 @@ sub run_copy_permit_scripts { sub check_copy_alert { my $self = shift; - return undef if $self->is_renewal; + return undef unless $self->is_checkin; return OpenILS::Event->new( 'COPY_ALERT_MESSAGE', payload => $self->copy->alert_message) if $self->copy and $self->copy->alert_message; -- 2.11.0