Provide a link (to only your Operators) inside every Ticket which quickly brings up a complete list of this particular customer's Ticket history.
In
TTXTicket.pm, in the
ticket subroutine, add this piece of code in
blue just below the line as indicated...
$data->{PAGEHEADING} = '[%Ticket%] #'.$t->{id};
if ($isoper) {
$data->{CUST_TICKETS} = "<a href='".$cfg->get('scriptname')."?cmd=helpdesk&sid=".$query->param('sid')."&style=&status=(PND|OPN|WFR|CLS)&qsort=open&qwindow=30&email=".$t->{email}."'>All Tickets by ".$t->{email}."</a>";
}
In your
ticket.html template, add the new macro anyplace you wish...
(%CUST_TICKETS%)
Easy Tweaks- - This code displays 30 tickets per page. Edit
qwindow=30 above if you want to change this.
- This code displays tickets of all four status codes. Edit
status=(PND|OPN|WFR|CLS) above if you want to change this.
- This code sorts the ticket list by creation date column. Edit
qsort=open above if you want to change this.