[otrs-cvs] ITSMIncidentProblemManagement/Kernel/Output/HTML TicketOverviewMedium.pm, 1.17, 1.17.2.1
"CVS commits notifications of OTRS.org" <[email protected]> Wed, 3 Jul 2013 14:15:28 +0000
| Newsgroups | gmane.comp.otrs.cvs |
|---|---|
| Message-ID | <[email protected]> |
Comments:
Update of /home/cvs/ITSMIncidentProblemManagement/Kernel/Output/HTML
In directory lancelot:/tmp/cvs-serv10289/Kernel/Output/HTML
Modified Files:
Tag: rel-3_2
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.17
retrieving revision 1.17.2.1
diff -2 -u -d -r1.17 -r1.17.2.1
--- TicketOverviewMedium.pm 23 Jan 2013 14:57:00 -0000 1.17
+++ TicketOverviewMedium.pm 3 Jul 2013 14:15:22 -0000 1.17.2.1
@@ -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;
if ( !$Article{Title} ) {
$Article{Title} = $Self->{LayoutObject}->{LanguageObject}->Get(
---------------------------------------------------------------------
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