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 <jason@sigio.com>
Signed-off-by: Michele Morgan <mmorgan@noblenet.org>
Signed-off-by: Jason Boyer <JBoyer@equinoxinitiative.org>
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