[otrs-cvs] ITSMIncidentProblemManagement/Kernel/Output/HTML TicketOverviewMedium.pm, 1.14, 1.14.2.1

"CVS commits notifications of OTRS.org" <[email protected]> Wed, 3 Jul 2013 12:34:21 +0000
Newsgroups gmane.comp.otrs.cvs
Message-ID <[email protected]>
Comments:
Update of /home/cvs/ITSMIncidentProblemManagement/Kernel/Output/HTML
In directory lancelot:/tmp/cvs-serv16561/Kernel/Output/HTML

Modified Files:
      Tag: rel-3_1
	TicketOverviewMedium.pm 
Log Message:
Updated files to latest framework version.

Author: ub

Index: TicketOverviewMedium.pm
===================================================================
RCS file: /home/cvs/ITSMIncidentProblemManagement/Kernel/Output/HTML/TicketOverviewMedium.pm,v
retrieving revision 1.14
retrieving revision 1.14.2.1
diff -2 -u -d -r1.14 -r1.14.2.1
--- TicketOverviewMedium.pm	24 Apr 2012 08:52:36 -0000	1.14
+++ TicketOverviewMedium.pm	3 Jul 2013 12:34:15 -0000	1.14.2.1
@@ -1,5 +1,5 @@
 # --
 # Kernel/Output/HTML/TicketOverviewMedium.pm
-# Copyright (C) 2001-2012 OTRS AG, http://otrs.org/
+# Copyright (C) 2001-2013 OTRS AG, http://otrs.org/
 # --
 # $Id$
@@ -256,5 +256,5 @@
     );
 
-    # get last article
+    # get last customer article
     my %Article = $Self->{TicketObject}->ArticleLastCustomerArticle(
         TicketID      => $Param{TicketID},
@@ -262,10 +262,16 @@
     );
 
+    # get ticket data
+    my %Ticket = $Self->{TicketObject}->TicketGet(
+        TicketID      => $Param{TicketID},
+        DynamicFields => 0,
+    );
+
+    # show ticket create time in current view
+    $Article{Created} = $Ticket{Created};
+
     # Fallback for tickets without articles: get at least basic ticket data
     if ( !%Article ) {
-        %Article = $Self->{TicketObject}->TicketGet(
-            TicketID      => $Param{TicketID},
-            DynamicFields => 0,
-        );
+        %Article = %Ticket;
     }
 
---------------------------------------------------------------------
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