This mod came from (http://osticket.com/forums/showthread.php?t=736&highlight=respond)
I just test and adapt to v1.7 go:
Add in class.ticket.php After line 450 this
function getLastReplyRespondent() {
$lastmsgdate = strtotime($this->getLastMessageDate());
$lastresdate = strtotime($this->getLastResponseDate());
if ($lastmsgdate <= $lastresdate) {
return $lastresdate;
} else {
return $lastmsgdate;
}
}
Add in tickets.inc.php after line 379 this
<th nowrap>Updated</th>
<th width="30">
Add in tickets.inc.php after line 458
<?php $ticket = new Ticket($row);?>
<td nowrap style="font-weight"><?php
$VarRes = 0;
$VarRes = Format:($ticket->getLastReplyRespondent());
if ($VarRes == 0)
{
print $VarRes;
}
else
{
print $VarRes;
}
?></td>
I would like to someone help me to print the new column (Updated)in the export csv file.