Skip to content
Snippets Groups Projects
Commit 59b2e897 authored by Peter Rotich's avatar Peter Rotich Committed by GitHub
Browse files

Merge pull request #3409 from jdelhome3578/issue/3268

Fix issue #3268
parents 55dc25ac d564a658
No related branches found
No related tags found
No related merge requests found
......@@ -103,7 +103,7 @@ $tickets->distinct('ticket_id');
TicketForm::ensureDynamicDataView();
$total=$tickets->count();
$total=$visibility->count();
$page=($_GET['p'] && is_numeric($_GET['p']))?$_GET['p']:1;
$pageNav=new Pagenate($total, $page, PAGE_LIMIT);
$qstr = '&'. Http::build_query($qs);
......@@ -123,6 +123,7 @@ if($search)
$negorder=$order=='-'?'ASC':'DESC'; //Negate the sorting
$tickets->order_by($order.$order_by);
$tickets->values(
'ticket_id', 'number', 'created', 'isanswered', 'source', 'status_id',
'status__state', 'status__name', 'cdata__subject', 'dept_id',
......
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