[otrs-cvs] otrs/Kernel/Output/HTML
NotificationAgentTicketEscalation.pm, 1.11, 1.12
cvs-log at otrs.org
cvs-log at otrs.org
Fri Feb 1 14:14:46 GMT 2008
Comments:
Update of /home/cvs/otrs/Kernel/Output/HTML
In directory lancelot:/tmp/cvs-serv19043/Kernel/Output/HTML
Modified Files:
NotificationAgentTicketEscalation.pm
Log Message:
Added config option to set max show escalated tickets.
Author: martin
Index: NotificationAgentTicketEscalation.pm
===================================================================
RCS file: /home/cvs/otrs/Kernel/Output/HTML/NotificationAgentTicketEscalation.pm,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -d -r1.11 -r1.12
*** NotificationAgentTicketEscalation.pm 6 Nov 2007 10:04:43 -0000 1.11
--- NotificationAgentTicketEscalation.pm 1 Feb 2008 14:14:41 -0000 1.12
***************
*** 1,5 ****
# --
# Kernel/Output/HTML/NotificationAgentTicketEscalation.pm
! # Copyright (C) 2001-2007 OTRS GmbH, http://otrs.org/
# --
# $Id$
--- 1,5 ----
# --
# Kernel/Output/HTML/NotificationAgentTicketEscalation.pm
! # Copyright (C) 2001-2008 OTRS AG, http://otrs.org/
# --
# $Id$
***************
*** 7,11 ****
# This software comes with ABSOLUTELY NO WARRANTY. For details, see
# the enclosed file COPYING for license information (GPL). If you
! # did not receive this file, see http://www.gnu.org/licenses/gpl.txt.
# --
--- 7,11 ----
# This software comes with ABSOLUTELY NO WARRANTY. For details, see
# the enclosed file COPYING for license information (GPL). If you
! # did not receive this file, see http://www.gnu.org/licenses/gpl-2.0.txt.
# --
***************
*** 144,147 ****
--- 144,148 ----
my $Comment = '';
my $Count = 0;
+ my $ShownMax = $Param{Config}->{ShownMax} || 30;
for my $TicketData (@TicketIDs) {
my %Ticket = %{$TicketData};
***************
*** 149,153 ****
# just use the oldest 30 ticktes
! if ( $Count > 30 ) {
$Count = 100;
last;
--- 150,154 ----
# just use the oldest 30 ticktes
! if ( $Count >= $ShownMax) {
$Count = 100;
last;
More information about the cvs-log
mailing list