queues: Counts revisited
Prefer agent's queue count instead of rough count when paginating the tickets. This will make the initial queue load expensive but has an added advantage of having queue counts available thereafter for drop downs. This commits also adds entry to auto-cron, to keep queue counts more up to date in the background.When APCu is not available SESSION is used to cache the counts.
Showing
- include/ajax.search.php 1 addition, 1 deletioninclude/ajax.search.php
- include/class.search.php 43 additions, 16 deletionsinclude/class.search.php
- include/staff/templates/queue-tickets.tmpl.php 1 addition, 1 deletioninclude/staff/templates/queue-tickets.tmpl.php
- scp/autocron.php 5 additions, 0 deletionsscp/autocron.php
Loading
Please register or sign in to comment