Dashboard to show all unlocked Tickets

Moderator: crythias

Locked
Jensito
Znuny newbie
Posts: 47
Joined: 08 Oct 2009, 10:49
Znuny Version: 4.0.10

Dashboard to show all unlocked Tickets

Post by Jensito »

Hi there,

I have found several topics close to this one, but neither one is solved or exactly the problem I encounter.
We have worked with the dashboard ever since version 2.4 and have been looking for a change for the two dashlets New Tickets and Open Tickets into Available Tickets and Locked Tickets. I know in the good old QueueOverview it's sorted like that. But the dashboard view shows a lot more at a glance, so my Agents won't look in the QueueOverview.

Now I changed the Attributes of the dashlet new Tickets to the following:

Code: Select all

StateType=new;StateType=open;LockIDs=1;
And of the open Tickets to:

Code: Select all

StateType=new;StateType=open;LockIDs=2;
Open Tickets is now showing only locked Tickets and works fine.
New Tickets is now showing only unlocked Tickets of both open and new States. But the Number of "Tickets in my Queues" is completely off! It seems to add up all the Tickets of new and open States, regardless of the LockID, and then displays only the correct Tickets below. And it displays 2 pages, although there is nowhere near enough Tickets for a second Page. If you click on it, the page is empty.
The Filter "All Tickets" is counting correctly though! In the Filter "My locked Tickets" it displays all Tickets I am currently the Owner of. Seems like the dashboard isn't really constructed for Lock-wise restriction?!

Is there any chance I can get the shown number of Tickets in my queues to show correctly?
OTRS 4.0.10 mit FAQ und Systemmonitoring auf OpenSuSE 11.3
Jensito
Znuny newbie
Posts: 47
Joined: 08 Oct 2009, 10:49
Znuny Version: 4.0.10

Re: Dashboard to show all unlocked Tickets

Post by Jensito »

Does anyone know, where exactly the search query is executed? I'd like to run through it with a debugger and see where the result comes out with too big a number for tickets to be shown in the dashlet. I just can't find the exact place in the source code.
OTRS 4.0.10 mit FAQ und Systemmonitoring auf OpenSuSE 11.3
jnelson
Znuny newbie
Posts: 72
Joined: 18 Jul 2014, 14:40
Znuny Version: 5.0.4
Real Name: Jerry Nelson

Re: Dashboard to show all unlocked Tickets

Post by jnelson »

/var/otrs/Kernel/Config/Files/Ticket.xml

Look for "DashboardBackend###0120-TicketNew".

This is the configuration for that search parameter.
OTRS 5 on CentOS 7.1
Locked