From ec11316973acd39db816a165c99c4fef914b5f52 Mon Sep 17 00:00:00 2001 From: Jason Stephenson Date: Fri, 6 Sep 2019 11:09:18 -0400 Subject: [PATCH 1/1] LP#1842431 Split textcode and desc fields for AutoRenew user data Split the event textcode and desc fields into textcode and description fields, respectively, in the AutoRenew reactor's user data, but also leave the reason field alone. This permits sites to show only the description of the event if they want. Signed-off-by: Jason Stephenson Signed-off-by: Michele Morgan Signed-off-by: Jason Boyer --- .../lib/OpenILS/Application/Trigger/Reactor/Circ/AutoRenew.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Open-ILS/src/perlmods/lib/OpenILS/Application/Trigger/Reactor/Circ/AutoRenew.pm b/Open-ILS/src/perlmods/lib/OpenILS/Application/Trigger/Reactor/Circ/AutoRenew.pm index 6c6de46b4e..0fbc21dffd 100644 --- a/Open-ILS/src/perlmods/lib/OpenILS/Application/Trigger/Reactor/Circ/AutoRenew.pm +++ b/Open-ILS/src/perlmods/lib/OpenILS/Application/Trigger/Reactor/Circ/AutoRenew.pm @@ -73,6 +73,8 @@ sub handler { reason => !$is_renewed ? $evt->{desc} : '', new_due_date => $is_renewed ? $evt->{payload}->{circ}->due_date : '', old_due_date => !$is_renewed ? $_->due_date() : '', + textcode => $evt->{textcode}, + description => $evt->{desc}, ); # Create the event from the source circ instead of the -- 2.43.2