[otrs-cvs] otrs/Kernel/Output/HTML DashboardCustomerIDStatus.pm, 1.5, 1.6
"CVS commits notifications of OTRS.org" <[email protected]>
| Newsgroups | gmane.comp.otrs.cvs |
|---|---|
| Message-ID | <[email protected]> |
Comments:
Update of /home/cvs/otrs/Kernel/Output/HTML
In directory lancelot:/tmp/cvs-serv27301/Kernel/Output/HTML
Modified Files:
DashboardCustomerIDStatus.pm
Log Message:
Also show archived tickets in customer id status widget in CIC.
Author: mg
Index: DashboardCustomerIDStatus.pm
===================================================================
RCS file: /home/cvs/otrs/Kernel/Output/HTML/DashboardCustomerIDStatus.pm,v
retrieving revision 1.5
retrieving revision 1.6
diff -2 -u -d -r1.5 -r1.6
--- DashboardCustomerIDStatus.pm 3 Dec 2012 09:11:00 -0000 1.5
+++ DashboardCustomerIDStatus.pm 3 Dec 2012 10:22:09 -0000 1.6
@@ -142,4 +142,24 @@
);
+ # archived tickets
+ if ( $Self->{ConfigObject}->Get('Ticket::ArchiveSystem') ) {
+ $Count = $Self->{TicketObject}->TicketSearch(
+ CustomerID => $CustomerIDSQL,
+ ArchiveFlags => ['y'],
+ Result => 'COUNT',
+ Permission => $Self->{Config}->{Permission},
+ UserID => $Self->{UserID},
+ CacheTTL => $Self->{Config}->{CacheTTLLocal} * 60,
+ );
+
+ $Self->{LayoutObject}->Block(
+ Name => 'ContentSmallCustomerIDStatusArchivedTickets',
+ Data => {
+ %Param,
+ Count => $Count
+ },
+ );
+ }
+
my $Content = $Self->{LayoutObject}->Output(
TemplateFile => 'AgentDashboardCustomerIDStatus',
---------------------------------------------------------------------
OTRS mailing list: cvs-log - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/cvs-log
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/cvs-log