[Rt-commit] r4454 - in RT-Extension-ActivityReports: .
html/Reports/Activity/Elements
alexmv at bestpractical.com
alexmv at bestpractical.com
Tue Jan 31 19:04:10 EST 2006
Author: alexmv
Date: Tue Jan 31 19:04:09 2006
New Revision: 4454
Modified:
RT-Extension-ActivityReports/ (props changed)
RT-Extension-ActivityReports/html/Reports/Activity/Elements/Tabs
RT-Extension-ActivityReports/html/Reports/Activity/ResolutionComments.html
RT-Extension-ActivityReports/html/Reports/Activity/WorkedStatistics.html
Log:
r8859 at zoq-fot-pik: chmrr | 2006-01-31 19:03:31 -0500
* Deal with missing Whiteboard custom field
* Use Updated for Time Worked statistics
* Link Time Worked in tabs
Modified: RT-Extension-ActivityReports/html/Reports/Activity/Elements/Tabs
==============================================================================
--- RT-Extension-ActivityReports/html/Reports/Activity/Elements/Tabs (original)
+++ RT-Extension-ActivityReports/html/Reports/Activity/Elements/Tabs Tue Jan 31 19:04:09 2006
@@ -28,6 +28,9 @@
d => { title => 'Resolution statistics',
path => 'Reports/Activity/ResolutionStatistics.html'.$args,
},
+ e => { title => 'Time worked statistics',
+ path => 'Reports/Activity/WorkedStatistics.html'.$args,
+ },
};
}
Modified: RT-Extension-ActivityReports/html/Reports/Activity/ResolutionComments.html
==============================================================================
--- RT-Extension-ActivityReports/html/Reports/Activity/ResolutionComments.html (original)
+++ RT-Extension-ActivityReports/html/Reports/Activity/ResolutionComments.html Tue Jan 31 19:04:09 2006
@@ -39,6 +39,8 @@
my @items;
while ( my $ticket = $summary_tickets->Next ) {
+ my $whiteboard = $ticket->CustomFieldValues('Whiteboard') ?
+ $ticket->FirstCustomFieldValue('Whiteboard') : undef;
push @items, {
queue => $ticket->QueueObj->Name,
id => $ticket->id,
@@ -49,7 +51,7 @@
$ticket->ResolvedObj->Unix - $ticket->CreatedObj->Unix
)
),
- whiteboard => $ticket->FirstCustomFieldValue('Whiteboard')
+ whiteboard => $whiteboard,
};
}
Modified: RT-Extension-ActivityReports/html/Reports/Activity/WorkedStatistics.html
==============================================================================
--- RT-Extension-ActivityReports/html/Reports/Activity/WorkedStatistics.html (original)
+++ RT-Extension-ActivityReports/html/Reports/Activity/WorkedStatistics.html Tue Jan 31 19:04:09 2006
@@ -62,8 +62,8 @@
}
my %queries;
-$queries{'Date range'} = "(Created >= '$start' AND Created <= '$end')";
-$queries{$_} = "(Created >= '".$times{$_}->ISO."')" for keys %times;
+$queries{'Date range'} = "(Updated >= '$start' AND Updated <= '$end')";
+$queries{$_} = "(Updated >= '".$times{$_}->ISO."')" for keys %times;
my(%plot, %timetaken, %users, %emails);
foreach my $period (@order) {
More information about the Rt-commit
mailing list