[Rt-commit] [rtir] 01/01: Include Due and Starts when splitting

Jim Brandt jbrandt at bestpractical.com
Fri May 9 16:06:37 EDT 2014


This is an automated email from the git hooks/post-receive script.

jbrandt pushed a commit to branch 3.2/dates-in-split
in repository rtir.

commit 7f1c4e2422f5c443e0f0dda68a4e494949c317b8
Author: Jim Brandt <jbrandt at bestpractical.com>
Date:   Fri May 9 15:45:13 2014 -0400

    Include Due and Starts when splitting
---
 html/RTIR/Incident/Split.html | 3 +++
 html/RTIR/Split.html          | 3 +++
 2 files changed, 6 insertions(+)

diff --git a/html/RTIR/Incident/Split.html b/html/RTIR/Incident/Split.html
index 30289c3..840bb03 100644
--- a/html/RTIR/Incident/Split.html
+++ b/html/RTIR/Incident/Split.html
@@ -68,6 +68,9 @@
 my $TicketObj = LoadTicket($Split);
 $ARGS{'Split'} = $Split = $TicketObj->id;
 
+$ARGS{'Due'} = $TicketObj->Due if $TicketObj->DueObj->ISO(Time => 0) gt '1970-01-01';
+$ARGS{'Starts'} = $TicketObj->Starts if $TicketObj->StartsObj->ISO(Time => 0) gt '1970-01-01';
+
 $m->callback(CallbackName => 'Initial', %ARGS, Ticket => $TicketObj);
 </%INIT>
 
diff --git a/html/RTIR/Split.html b/html/RTIR/Split.html
index 6dbf2b9..4959a9f 100644
--- a/html/RTIR/Split.html
+++ b/html/RTIR/Split.html
@@ -68,6 +68,9 @@
 my $TicketObj = LoadTicket( $Split );
 $ARGS{'Split'} = $Split = $TicketObj->id;
 
+$ARGS{'Due'} = $TicketObj->Due if $TicketObj->DueObj->ISO(Time => 0) gt '1970-01-01';
+$ARGS{'Starts'} = $TicketObj->Starts if $TicketObj->StartsObj->ISO(Time => 0) gt '1970-01-01';
+
 $m->callback(CallbackName => 'Initial', %ARGS, Ticket => $TicketObj);
 
 my $Type = RT::IR::TicketType( Ticket => $TicketObj );

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the rt-commit mailing list