Skip to content
Snippets Groups Projects
Commit d82c5025 authored by Peter Rotich's avatar Peter Rotich
Browse files

Merge pull request #467 from protich/issue/450

Add dept to ticket's sort options
parents ff6258d4 4c348b80
No related branches found
No related tags found
No related merge requests found
......@@ -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...
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment