|
12-06-2006, 11:37 PM
Hi,
I did this by changing the sql behind the whole thing..
In the client_tickets.php under \modules\tickets
....
//$dbCore->query("SELECT * FROM `". TABLE_PREFIX ."tickets` AS tickets WHERE `email` IN (". buildIN($_emaillist) .") ORDER BY `lastactivity` DESC LIMIT ".intval($_offset).",".intval($_limit).";");
$dbCore->query("SELECT ticketmaskid,subject,ticketid,ticketstatusid,prior ityid,departmentid,from_unixtime(dateline) as dateline,lastreplier,fullname FROM `". TABLE_PREFIX ."tickets` AS tickets WHERE `email` IN (". buildIN($_emaillist) .") ORDER BY `lastactivity` DESC LIMIT ".intval($_offset).",".intval($_limit).";");
.............. |