Skip to content
Snippets Groups Projects
Unverified Commit 54c6e6a7 authored by aydreeihn's avatar aydreeihn Committed by GitHub
Browse files

Merge pull request #4736 from aydreeihn/issue/closed-queue-dups

Issue: Duplicate Tickets in Closed Queue
parents cebdcdd3 216453f3
No related branches found
No related tags found
No related merge requests found
......@@ -90,9 +90,9 @@ if (isset($tickets->extra['tables'])) {
$criteria->values_flat('ticket_id')]);
# Index hint should be used on the $criteria query only
$tickets->clearOption(QuerySet::OPT_INDEX_HINT);
$tickets->distinct('ticket_id');
}
$tickets->distinct('ticket_id');
$count = $queue->getCount($thisstaff) ?: (PAGE_LIMIT*3);
$pageNav->setTotal($count, true);
$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