From eb061f5119325e666f0dff40d4089e5c1df58e17 Mon Sep 17 00:00:00 2001 From: cvs2git Date: Sun, 16 Mar 2008 19:58:34 +0000 Subject: This commit was manufactured by cvs2svn to create tag 'TRIXBOX_2_6'. --- rt/html/Reports/Activity/ResolutionComments.html | 62 ------------------------ 1 file changed, 62 deletions(-) delete mode 100644 rt/html/Reports/Activity/ResolutionComments.html (limited to 'rt/html/Reports/Activity/ResolutionComments.html') diff --git a/rt/html/Reports/Activity/ResolutionComments.html b/rt/html/Reports/Activity/ResolutionComments.html deleted file mode 100644 index 81ca301cc..000000000 --- a/rt/html/Reports/Activity/ResolutionComments.html +++ /dev/null @@ -1,62 +0,0 @@ -<&|Elements/Wrapper, %ARGS, title => loc("Resolution Comments"), - path => "Reports/Activity/ResolutionComments.html", - &> - - - - - - - - -% for my $item (@items) { - - - - - - - - - - -% } -
QueueTicket #CreatedResolvedTime to resolve
Resolution comments
<% $item->{queue} %><% $item->{id} %><% $item->{created} %><% $item->{resolved} %><% $item->{duration} %>
<% $item->{whiteboard} %>
- - -<%args> -$query => 'id > 0' -$start => "2005/01/01" -$end => "2006/01/01" - -<%init> - -use Time::Duration; - -my $summary_tickets = RT::Tickets->new( $session{'CurrentUser'} ); -$summary_tickets->FromSQL( - $query . " AND (Status = 'resolved') AND ( Updated >= '$start' AND Updated <= '$end')" ); - -my @items; -while ( my $ticket = $summary_tickets->Next ) { - push @items, { - queue => $ticket->QueueObj->Name, - id => $ticket->id, - created => $ticket->CreatedObj->AsString, - resolved => $ticket->ResolvedObj->AsString, - duration => Time::Duration::concise( - Time::Duration::duration( - $ticket->ResolvedObj->Unix - $ticket->CreatedObj->Unix - ) - ), - whiteboard => $ticket->FirstCustomFieldValue('Whiteboard') - }; -} - -@items = sort { $a->{queue} cmp $b->{queue} || $a->{id} <=> $b->{id} } @items; - - - - - - -- cgit v1.2.1