Skip to content
Snippets Groups Projects
Commit 51052502 authored by aydreeihn's avatar aydreeihn
Browse files

Queue Pages Default

Default to the page limit when the queue returns 0 results instead of 3 pages.
parent f3d4b284
No related branches found
No related tags found
No related merge requests found
...@@ -99,7 +99,7 @@ if (isset($tickets->extra['tables'])) { ...@@ -99,7 +99,7 @@ if (isset($tickets->extra['tables'])) {
} }
$tickets->distinct('ticket_id'); $tickets->distinct('ticket_id');
$count = $queue->getCount($thisstaff) ?: (PAGE_LIMIT*3); $count = $queue->getCount($thisstaff) ?: (PAGE_LIMIT);
$pageNav->setTotal($count, true); $pageNav->setTotal($count, true);
$pageNav->setURL('tickets.php', $args); $pageNav->setURL('tickets.php', $args);
?> ?>
......
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