If you want to prevent closed tickets from showing when there are no open tickets, comment out in includes/staff/tickets.inc.php as such:
original:
}elseif(!$stats) { //no open or answered tickets (+-queue?) - show closed tickets.???
$status='closed';
$results_type='Closed Tickets';
}
modified:
}/*elseif(!$stats) { //no open or answered tickets (+-queue?) - show closed tickets.???
$status='closed';
$results_type='Closed Tickets';
}*/