diff --git a/include/staff/tickets.inc.php b/include/staff/tickets.inc.php index bef30bfcc4bd9c47d35f41de5187173125f56a0b..ecbedfc668bda09277ebd21ef71e4bd921391ebb 100644 --- a/include/staff/tickets.inc.php +++ b/include/staff/tickets.inc.php @@ -186,7 +186,9 @@ if($search): endif; $sortOptions=array('date'=>'ticket.created','ID'=>'ticketID','pri'=>'priority_urgency','name'=>'ticket.name', - 'subj'=>'ticket.subject','status'=>'ticket.status','assignee'=>'assigned','staff'=>'staff'); + 'subj'=>'ticket.subject','status'=>'ticket.status','assignee'=>'assigned','staff'=>'staff', + 'dept'=>'dept_name'); + $orderWays=array('DESC'=>'DESC','ASC'=>'ASC'); //Sorting options...