Ticket counts show slightly wrong numbers (e.g. 6 instead of 4) after applying the per-queue getTotal() performance patch.
The discrepancy occurs because getTotal() without $agent counts all tickets in the queue including child/merged tickets that may not be listed in the UI view. Pass $agent as argument: $q->getTotal($agent) to scope counts to the agent's access. Also upgrade to v1.18.3 which includes count-accuracy fixes.
Originally sourced from forum.osticket.com . osFAQ.org summarises community knowledge for quick reference.
Helpful
Report an error