multiple filter values in dashboard widget

Moderator: crythias

Locked
aph
Znuny superhero
Posts: 646
Joined: 20 Jun 2014, 12:11
Znuny Version: 3.3.9, 4.x, 5.x

multiple filter values in dashboard widget

Post by aph »

I have multiple states of type 'open' in my configuration. When I filter tickets by state I can select only one state at a time. I would like to customize the dashboard widget in a way that I can select multiple states. Is it possible? If yes, how do I go about it?
OTRS 3.3.x (private/testing) on Windows Server 2008 with MSSQL database.
OTRS 3.3.x (private/testing) on CentOS with MySQL database and apache
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: multiple filter values in dashboard widget

Post by crythias »

StateIDs=1:StateIDs=2 might help
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
aph
Znuny superhero
Posts: 646
Joined: 20 Jun 2014, 12:11
Znuny Version: 3.3.9, 4.x, 5.x

Re: multiple filter values in dashboard widget

Post by aph »

Could you elaborate please? I could not find out how to configure this in DashboardTicketGeneric.pm
OTRS 3.3.x (private/testing) on Windows Server 2008 with MSSQL database.
OTRS 3.3.x (private/testing) on CentOS with MySQL database and apache
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: multiple filter values in dashboard widget

Post by crythias »

Filters on dashlets get handled in SysConfig.
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
aph
Znuny superhero
Posts: 646
Joined: 20 Jun 2014, 12:11
Znuny Version: 3.3.9, 4.x, 5.x

Re: multiple filter values in dashboard widget

Post by aph »

State IDs can help when I want to display only certain states in the dashlet in first place. However, I would like the agent to be able to select multiple state values from the filter drop down list. So for example, let's assume I have three states of type open namely A,B and C with stateids 7,8 and 9 respectively. If I want to display only tickets with states A and B, a StateIDs filter in sysconfig would be useful. However, I would like the agent to be able to see tickets with states A,B and C, but be able to select A and B or A and C together. At the moment an agent can only select as dashlet filter state A, B, C. So in the following screenshot an agent can filter 'open' tickets or 'in Bearbeitung'
Unbenannt_176.PNG
You do not have the required permissions to view the files attached to this post.
OTRS 3.3.x (private/testing) on Windows Server 2008 with MSSQL database.
OTRS 3.3.x (private/testing) on CentOS with MySQL database and apache
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: multiple filter values in dashboard widget

Post by crythias »

I would suggest making dedicated dashlets for this and enabling them from the Dashboard Settings when you need them.

viewtopic.php?t=28631
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Locked