[Rt-commit] rtir branch, 4.0/correspondents-from-makeclicky, created. 4.0.0-58-g36a2579b
Brian Duggan
brian at bestpractical.com
Mon May 21 16:13:13 EDT 2018
The branch, 4.0/correspondents-from-makeclicky has been created
at 36a2579bbcae15365f761f113567f47094ef0b98 (commit)
- Log -----------------------------------------------------------------
commit 36a2579bbcae15365f761f113567f47094ef0b98
Author: Brian C. Duggan <brian at bestpractical.com>
Date: Mon May 21 15:59:59 2018 -0400
Set correspondents from "Investigate to" MakeClicky link
When @Active_MakeClicky contains "email", Incident ticket displays add
a "Investigate to" link to email addresses in message bodies. The
"Investigate to" link opens a page that allows the user to select an
Investigation queue and create a ticket in it. The resulting ticket
creation page did not set Correspondents at all. It should set
Correspondents to the value of the email the user clicked "Investigate
to" on.
This change sets Correspondents to the MakeClicky email address
on new tickets created from "Investigate to" links.
diff --git a/html/RTIR/Elements/CreateInRTIRQueueModal b/html/RTIR/Elements/CreateInRTIRQueueModal
index ebb062a0..ade02826 100644
--- a/html/RTIR/Elements/CreateInRTIRQueueModal
+++ b/html/RTIR/Elements/CreateInRTIRQueueModal
@@ -51,6 +51,9 @@
% }
% if ($Child) {
<input type="hidden" name="Child" value="<%$Child%>"/>
+% }
+% if ($Requestors) {
+<input type="hidden" name="Requestors" value="<%$Requestors%>"/>
% }
<&|/l_unsafe, $ticket_type,
$m->scomp('/RTIR/Elements/SelectRTIRQueue',
@@ -95,5 +98,6 @@ my $ticket_type = lc RT::IR::TicketType( Lifecycle => $Lifecycle );
$Lifecycle
$Incident => undef
$Child => undef
+$Requestors => undef
</%ARGS>
-----------------------------------------------------------------------
More information about the rt-commit
mailing list