From: Terran McCanna Date: Thu, 20 Jan 2022 19:42:33 +0000 (-0500) Subject: LP1958573 PMC messages created by action triggers not patron-visible X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=ba2fc41399e9723361245a95e64d78a6c1eb2e59;p=evergreen%2Ftadl.git LP1958573 PMC messages created by action triggers not patron-visible This adds a missing patron-visibility flag to messages created for the patron message center by notification action triggers (when using grouped events). Signed-off-by: Terran McCanna Signed-off-by: Galen Charlton --- diff --git a/Open-ILS/src/perlmods/lib/OpenILS/Application/Trigger/EventGroup.pm b/Open-ILS/src/perlmods/lib/OpenILS/Application/Trigger/EventGroup.pm index ec1c3e723f..b592109865 100644 --- a/Open-ILS/src/perlmods/lib/OpenILS/Application/Trigger/EventGroup.pm +++ b/Open-ILS/src/perlmods/lib/OpenILS/Application/Trigger/EventGroup.pm @@ -83,6 +83,7 @@ sub react { $usr_message->message( $message_template_output ); $usr_message->usr( $env->{usr_message}{usr}->id ); $usr_message->sending_lib( $env->{usr_message}{sending_lib}->id ); + $usr_message->pub('t'); if ($self->editor->xact_begin) { if ($self->editor->create_actor_usr_message( $usr_message )) {